mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-04-15 03:48:03 +02:00
Correct cron
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user