mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-31 04:44:05 +02:00
Correct cron
This commit is contained in:
@@ -40,10 +40,10 @@ case $FREQUENCY in
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
"Daily")
|
"Daily")
|
||||||
sed -i -e '$a 0 * * * * /run.sh' /etc/crontabs/root
|
sed -i -e '$a 0 0 * * * /run.sh' /etc/crontabs/root
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"Weekly")
|
"Weekly")
|
||||||
sed -i -e '$a 0 * * * * /run.sh' /etc/crontabs/root
|
sed -i -e '$a 0 0 * * 0 /run.sh' /etc/crontabs/root
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
Reference in New Issue
Block a user