+3
-3
@@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
CRON_CONFIG_FILE="/etc/crontabs/root"
|
CRON_CONFIG_FILE="/etc/crontabs/root"
|
||||||
|
|
||||||
grep -qxF 'echo Come in the water is fine!' $CRON_CONFIG_FILE || echo "${CRON} echo Come in the water is fine!" >> $CRON_CONFIG_FILE
|
grep -qF 'echo Come in the water is fine!' $CRON_CONFIG_FILE || echo "${CRON} echo Come in the water is fine!" >> $CRON_CONFIG_FILE
|
||||||
grep -qxF 'echo Turn on the bubbles!' $CRON_CONFIG_FILE || echo "${CRON} echo Turn on the bubbles!" >> $CRON_CONFIG_FILE
|
grep -qF 'echo Turn on the bubbles!' $CRON_CONFIG_FILE || echo "${CRON} echo Turn on the bubbles!" >> $CRON_CONFIG_FILE
|
||||||
grep -qxF '@reboot echo Come in the water is fine!' $CRON_CONFIG_FILE || echo "@reboot echo Come in the water is fine!" >> $CRON_CONFIG_FILE
|
grep -qF 'echo Come in the water is fine!' $CRON_CONFIG_FILE || echo "@reboot echo Come in the water is fine!" >> $CRON_CONFIG_FILE
|
||||||
|
|
||||||
exec crond -f
|
exec crond -f
|
||||||
Reference in New Issue
Block a user