mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 18:49:21 -07:00
updated syntax for is_system_enabled()
This commit is contained in:
parent
bab24899ea
commit
7ebd96d92d
125 changed files with 127 additions and 127 deletions
|
@ -31,7 +31,7 @@ source $VESTA/func/main.sh
|
|||
|
||||
check_args '7' "$#" 'USER JOB MIN HOUR DAY MONTH WDAY COMMAND'
|
||||
validate_format 'user' 'job' 'min' 'hour' 'day' 'month' 'wday' 'command'
|
||||
is_system_enabled $CRON_SYSTEM
|
||||
is_system_enabled "$CRON_SYSTEM" 'CRON_SYSTEM'
|
||||
is_object_valid 'user' 'USER' "$user"
|
||||
is_object_unsuspended 'user' 'USER' "$user"
|
||||
is_object_valid 'cron' 'JOB' "$job"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue