Files
Ansible/crontab.txt
T
JustinandClaude Opus 5.5 6d5f532b2b Add patchman-client role; disable nightly update and reboot cron jobs
- roles/patchman_client + patchman-client.yaml: install patchman-client on
  ubuntu_servers and enroll with the Patchman server on patch.ki5bhv.com
- crontab.txt: comment out the 2:00 update.yaml and 7:00 reboot.yaml jobs;
  updates are now tracked in Patchman and applied manually

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-07 11:41:16 -06:00

35 lines
2.0 KiB
Plaintext

# Edit this file to introduce tasks to be run by cron.
#
# Each task to run has to be defined through a single line
# indicating with different fields when the task will be run
# and what command to run for the task
#
# To define the time you can provide concrete values for
# minute (m), hour (h), day of month (dom), month (mon),
# and day of week (dow) or use '*' in these fields (for 'any').
#
# Notice that tasks will be started based on the cron's system
# daemon's notion of time and timezones.
#
# Output of the crontab jobs (including errors) is sent through
# email to the user the crontab file belongs to (unless redirected).
#
# For example, you can run a backup of all your user accounts
# at 5 a.m every week with:
# 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/
#
# For more information see the manual pages of crontab(5) and cron(8)
#
# m h dom mon dow command
ANSIBLE_CONFIG=/home/justin/Ansible/ansible.cfg
#30 * * * * ansible-playbook /home/justin/Ansible/set-time.yaml
30 * * * * ansible-playbook /home/justin/Ansible/ubuntu/dns-flush.yaml >> /home/justin/cron-logs/dns-flush.log 2>&1
0 5 * * * ansible-playbook /home/justin/Ansible/docker/update-docker-compose.yaml >> /home/justin/cron-logs/update-docker-compose.log 2>&1
30 5 * * * ansible-playbook /home/justin/Ansible/docker/restart-qtorrnt.yaml >> /home/justin/cron-logs/restart-qtorrnt.log 2>&1
0 6 * * * ansible-playbook /home/justin/Ansible/ubuntu/restart-beszel.yaml >> /home/justin/cron-logs/restart-beszel.log 2>&1
#0 2 * * * ansible-playbook /home/justin/Ansible/ubuntu/update.yaml >> /home/justin/cron-logs/update.log 2>&1
#0 7 * * * ansible-playbook /home/justin/Ansible/ubuntu/reboot.yaml >> /home/justin/cron-logs/reboot.log 2>&1
0 5 * * 2 ansible-playbook /home/justin/Ansible/ubuntu/maint-clean-logs-cache.yaml >> /home/justin/cron-logs/maint-clean-logs-cache.log 2>&1
0 0 1,15 * * ansible-playbook /home/justin/Ansible/ubuntu/fix-ssh-host-keys.yaml >> /home/justin/cron-logs/fix-ssh-host-keys.log 2>&1