Correct cron

This commit is contained in:
Alexandre
2021-04-07 08:54:48 +02:00
committed by GitHub
parent ab76e65f96
commit c640d53d25

View File

@@ -40,10 +40,10 @@ case $FREQUENCY in
;;
"Daily")
sed -i -e '$a 0 * * * * /run.sh' /etc/crontabs/root
sed -i -e '$a 0 0 * * * /run.sh' /etc/crontabs/root
;;
"Weekly")
sed -i -e '$a 0 * * * * /run.sh' /etc/crontabs/root
sed -i -e '$a 0 0 * * 0 /run.sh' /etc/crontabs/root
;;
esac