diff options
Diffstat (limited to 'roles/host')
| -rw-r--r-- | roles/host/tasks/main.yml | 1 | ||||
| -rw-r--r-- | roles/host/templates/etc_crontab.j2 | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/roles/host/tasks/main.yml b/roles/host/tasks/main.yml index 01cffb7..aec0054 100644 --- a/roles/host/tasks/main.yml +++ b/roles/host/tasks/main.yml @@ -33,6 +33,7 @@ - py311-wheel - fastfetch - vim + - age loop_control: loop_var: pkg_name diff --git a/roles/host/templates/etc_crontab.j2 b/roles/host/templates/etc_crontab.j2 index 5cd0d86..33276ab 100644 --- a/roles/host/templates/etc_crontab.j2 +++ b/roles/host/templates/etc_crontab.j2 @@ -23,8 +23,8 @@ PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin # Take snapshots every day at 3:05 AM 5 3 * * * root /usr/local/bin/backup snapshot prune-local >>/var/log/backup 2>&1 -# Send backup snapshots to remote every third day at 4:05 AM -5 4 */3 * * root /usr/local/bin/backup send-to-remote prune-remote notify >>/var/log/backup 2>&1 +# Send backup snapshots to remote every Monday at 4:05 AM +5 4 * * 1 root /usr/local/bin/backup send-to-remote prune-remote notify >>/var/log/backup 2>&1 # Run pylogsentinel */10 * * * * root python -m pylogsentinel |
