mirror of
https://github.com/guezoloic/serverconfig.git
synced 2026-01-25 12:34:24 +00:00
feat: add isUpdated and cron error statement
- isUpdated (create_env_variable common.sh) to not propose overwrite field - if cron does not exist, print error (log too)
This commit is contained in:
@@ -10,7 +10,7 @@ if [[ "--install" == $INSTALLED ]]; then
|
||||
disk-monitor Installation\n\
|
||||
--------------------------------------------------"
|
||||
if ! command -v crontab >/dev/null 2>&1; then
|
||||
info_print "Cron job added." $ERROR_FLAG
|
||||
info_print "Error: crontab not found." $ERROR_FLAG
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user