1
0
Fork 0
ynh-apps_tools/cron
Alexandre Aubin d7f83b6ec2 Replace rebuild.sh / sourcesautoupdate.sh with a maintenance.sh to properly update cron job and auto-restart services when updating their code (#2323)
* Replace rebuild.sh / sourcesautoupdate.sh with a maintenance.sh to properly update cron job and auto-restart services when updating their code

* Mistakenly change the cron job periods

* Apply suggestions from code review @_@
2024-05-12 17:43:07 +02:00

14 lines
470 B
Text

# Every 4 hours
0 */4 * * * root /bin/bash __BASEDIR__/maintenance.sh rebuild_catalog
# Everyday at 01:30 UTC
30 1 * * * root /bin/bash __BASEDIR__/maintenance.sh autoupdate_app_sources
# Every friday at 6 PM UTC
0 17 * * 5 root /bin/bash __BASEDIR__/maintenance.sh update_app_levels
# Every 6 hours
0 */6 * * * root /bin/bash __BASEDIR__/maintenance.sh fetch_main_dashboard
# Every day at 2AM
0 2 * * * root /bin/bash __BASEDIR__/maintenance.sh fetch_level_history