mirror of
https://github.com/pi-hole/pi-hole
synced 2025-01-05 05:30:55 +00:00
fix to call once a week instead of daily
This commit is contained in:
parent
dba1df9bf8
commit
ceb7903f78
@ -82,9 +82,9 @@ echo "Autoupdate script installation..."
|
||||
crontab -l > /tmp/mycron
|
||||
if grep -qi '\<gravity\>' /tmp/mycron
|
||||
then
|
||||
echo "Autoupdate already configured"
|
||||
echo "Autoupdate already configured."
|
||||
else
|
||||
echo "0 * * * * sudo /usr/local/bin/gravity.sh" >> /tmp/mycron
|
||||
echo "@weekly sudo /usr/local/bin/gravity.sh" >> /tmp/mycron
|
||||
crontab /tmp/mycron
|
||||
fi
|
||||
rm /tmp/mycron
|
||||
|
Loading…
Reference in New Issue
Block a user