aboutsummaryrefslogtreecommitdiffstats
path: root/templates/etc_crontab.j2
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2025-09-29 00:53:24 +0200
committerJan Tuomi <jan@jantuomi.fi>2025-09-29 00:53:24 +0200
commit7c5eae9294994e59a5176eba21093ecd6cdfcf63 (patch)
treea3d7d0a34d6e4b9a773cd85b99afc9eca5b5bb9c /templates/etc_crontab.j2
parentcc1b02f99e457d2a5a440698e9bae1ca30f408e1 (diff)
Improve jails
Diffstat (limited to 'templates/etc_crontab.j2')
-rw-r--r--templates/etc_crontab.j23
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/etc_crontab.j2 b/templates/etc_crontab.j2
index f7a59d9..a6c48e4 100644
--- a/templates/etc_crontab.j2
+++ b/templates/etc_crontab.j2
@@ -20,3 +20,6 @@ PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin
# Adjust the time zone if the CMOS clock keeps local time, as opposed to
# UTC time. See adjkerntz(8) for details.
1,31 0-5 * * * root adjkerntz -a
+
+# Update dynamic DNS
+*/1 * * * * root logto -e /var/log/do_dyndns.err /usr/local/bin/do_dyndns.sh