Add a validation for checking if the scheduler is running (#14987)

This commit is contained in:
Jellyfrog
2023-04-24 10:04:50 +02:00
committed by GitHub
parent e1b6fd0165
commit f271019f6c
16 changed files with 97 additions and 23 deletions

15
dist/librenms.cron vendored Normal file
View File

@@ -0,0 +1,15 @@
33 */6 * * * librenms /opt/librenms/cronic /opt/librenms/discovery-wrapper.py 1
*/5 * * * * librenms /opt/librenms/discovery.php -h new >> /dev/null 2>&1
*/5 * * * * librenms /opt/librenms/cronic /opt/librenms/poller-wrapper.py 16
* * * * * librenms /opt/librenms/alerts.php >> /dev/null 2>&1
*/5 * * * * librenms /opt/librenms/poll-billing.php >> /dev/null 2>&1
01 * * * * librenms /opt/librenms/billing-calculate.php >> /dev/null 2>&1
*/5 * * * * librenms /opt/librenms/check-services.php >> /dev/null 2>&1
# Daily maintenance script. DO NOT DISABLE!
# If you want to modify updates:
# Switch to monthly stable release: https://docs.librenms.org/General/Releases/
# Disable updates: https://docs.librenms.org/General/Updating/
19 0 * * * librenms /opt/librenms/daily.sh >> /dev/null 2>&1