mirror of
https://github.com/juewuy/ShellCrash.git
synced 2026-03-12 00:11:31 +00:00
Merge branch 'master' into dev
# Conflicts: # ShellCrash.tar.gz # bin/version # scripts/menu.sh # scripts/menus/7_gateway.sh # scripts/menus/9_upgrade.sh # scripts/menus/bot_tg_bind.sh # version
This commit is contained in:
@@ -14,8 +14,7 @@ task_logger(){
|
||||
[ "$task_push" = 1 ] && push= || push=off
|
||||
[ -n "$2" -a "$2" != 0 ] && echo -e "\033[$2m$1\033[0m"
|
||||
[ "$3" = 'off' ] && push=off
|
||||
echo "$1" |grep -qE '(每隔|时每)([1-9]|[1-9][0-9])分钟' && push=off
|
||||
logger "$1" 0 "$push"
|
||||
echo "$1" |grep -qE '(每隔|时每)([1-9]|[1-9][0-9])分钟' || logger "$1" 0 "$push"
|
||||
}
|
||||
|
||||
#任务命令
|
||||
|
||||
Reference in New Issue
Block a user