aboutsummaryrefslogtreecommitdiffstats
path: root/roles/host/templates/etc_crontab.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/host/templates/etc_crontab.j2')
-rw-r--r--roles/host/templates/etc_crontab.j24
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/host/templates/etc_crontab.j2 b/roles/host/templates/etc_crontab.j2
index 33276ab..a78c105 100644
--- a/roles/host/templates/etc_crontab.j2
+++ b/roles/host/templates/etc_crontab.j2
@@ -30,3 +30,7 @@ PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin
*/10 * * * * root python -m pylogsentinel
# Run pylogsentinel batch job once a day
5 6 * * * root /usr/local/bin/pylogsentinel-batch-email.sh
+
+# Update ports trees nightly
+0 2 * * * root /usr/local/bin/update-ports quarterly >>/var/log/update-ports.log 2>&1
+5 2 * * * root /usr/local/bin/update-ports custom >>/var/log/update-ports.log 2>&1