Switch log-checks to every 8 hours
This commit is contained in:
parent
f205f46928
commit
e7e73977bd
|
@ -10,8 +10,8 @@ pip3 install python-dotenv
|
||||||
downloadCheck="0 0,8,16 * * * ~/skynet-webportal/setup-scripts/funds-checker.py ~/.sia/sia.env"
|
downloadCheck="0 0,8,16 * * * ~/skynet-webportal/setup-scripts/funds-checker.py ~/.sia/sia.env"
|
||||||
uploadCheck="0 0,8,16 * * * ~/skynet-webportal/setup-scripts/funds-checker.py ~/.sia/sia-upload.env"
|
uploadCheck="0 0,8,16 * * * ~/skynet-webportal/setup-scripts/funds-checker.py ~/.sia/sia-upload.env"
|
||||||
|
|
||||||
logCheck1="0 * * * * ~/skynet-webportal/setup-scripts/log-checker.py ~/.sia/sia.env"
|
logCheck1="0 0,8,16 * * * ~/skynet-webportal/setup-scripts/log-checker.py ~/.sia/sia.env siad 8"
|
||||||
logCheck2="0 * * * * ~/skynet-webportal/setup-scripts/log-checker.py ~/.sia/sia-upload.env siad-upload"
|
logCheck2="0 0,8,16 * * * ~/skynet-webportal/setup-scripts/log-checker.py ~/.sia/sia-upload.env siad-upload 8"
|
||||||
|
|
||||||
(crontab -u user -l; echo "$downloadCheck" ) | crontab -u user -
|
(crontab -u user -l; echo "$downloadCheck" ) | crontab -u user -
|
||||||
(crontab -u user -l; echo "$uploadCheck" ) | crontab -u user -
|
(crontab -u user -l; echo "$uploadCheck" ) | crontab -u user -
|
||||||
|
|
Reference in New Issue