Closed schlos closed 2 years ago
Done with crontab change:
sudo -u fms crontab -e
2 */6 * * * "/var/www/popravi.to/fixmystreet/commonlib/bin/run-with-lockfile.sh" -n "/var/www/popravi.to/send-alerts.lock" "/var/www/popravi.to/fixmystreet/bin/send-alerts" || echo "stalled?"
Validate crontab expression: https://crontab.guru
Updated to every 4 hours during the day (8-20h): crontab expression https://crontab.guru
Updated to 2x a day: crontab expression https://crontab.guru
Updated to 1x a day: crontab expression https://crontab.guru
Describe the bug
Alerts email every 1h
To Reproduce Steps to reproduce the behavior:
Expected behavior
Set alerts cronjob every 6h
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
https://github.com/codeforcroatia/popravi.to/blob/develop/conf/crontab-example#L17