aboutsummaryrefslogtreecommitdiffstats
path: root/roles/jails/16_dl/templates/etc_crontab.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/jails/16_dl/templates/etc_crontab.j2')
-rw-r--r--roles/jails/16_dl/templates/etc_crontab.j25
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/jails/16_dl/templates/etc_crontab.j2 b/roles/jails/16_dl/templates/etc_crontab.j2
new file mode 100644
index 0000000..1faae3d
--- /dev/null
+++ b/roles/jails/16_dl/templates/etc_crontab.j2
@@ -0,0 +1,5 @@
+SHELL=/bin/sh
+PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin
+
+# Change tunnel every hour
+0 * * * * root /usr/local/bin/wg_random_tunnel >> /var/log/random_tunnel.log 2>&1