# m h dom mon dow (0|7=sun,1=mon)    command

#
# cleanup $HTDOCS/daily.lock
#
@reboot /usr/share/piuparts/master/master_cleanup

#
# generate reports twice a day
#  (dinstall runs 1|7|13|19:52, so this is long after mirror pushes...)
#
0  0,6,12,18 * * * /usr/share/piuparts/master/generate_daily_report

#
# reschedule old logs twice a day
#
00 3,15 * * * /usr/share/piuparts/master/reschedule_oldest_logs

#
# monitor for problems once a day
# - these may result in packages being retested
# - if that's not the case, run them from within generate_daily_report
#
30 3-21/6 * * * /usr/share/piuparts/master/detect_network_issues
45 3-21/6 * * * /usr/share/piuparts/master/detect_piuparts_issues
0  22 * * * /usr/share/piuparts/master/detect_archive_issues
30 22 * * * /usr/share/piuparts/master/report_untestable_packages
0  23 * * * /usr/share/piuparts/master/report_stale_reserved_packages

#
# misc
#
0  2 * * * /usr/share/piuparts/master/prepare_backup
55 23 * * * /usr/share/piuparts/master/gather_bts_stats
