don't update crontab file if ENV missing
This commit is contained in:
parent
febac4d60f
commit
6a63e9cd88
@ -1,5 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
echo "${CRONTAB}" > /crontabs/root
|
if [ ! -z "${CRONTAB}" ] ; then
|
||||||
|
echo "${CRONTAB}" > /crontabs/roota
|
||||||
|
fi
|
||||||
|
|
||||||
/usr/sbin/crond -f -d8 -L /var/log/cron.log -c /crontabs
|
/usr/sbin/crond -f -d8 -L /var/log/cron.log -c /crontabs
|
||||||
|
Loading…
Reference in New Issue
Block a user