aboutsummaryrefslogtreecommitdiffstats
path: root/templates/hommabot/etc_crontab.j2
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2025-10-07 15:51:43 +0300
committerJan Tuomi <jan@jantuomi.fi>2025-10-07 15:51:43 +0300
commite037ecfa8cc0133a84fbed791b7658c474c3e748 (patch)
tree5305efc6c4b51caeeade79b172a1faab915a1d4e /templates/hommabot/etc_crontab.j2
parent1b9ed1426e93c335c3ffa7836813cb109b89ee22 (diff)
Add hommabot jail
Diffstat (limited to 'templates/hommabot/etc_crontab.j2')
-rw-r--r--templates/hommabot/etc_crontab.j210
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/hommabot/etc_crontab.j2 b/templates/hommabot/etc_crontab.j2
new file mode 100644
index 0000000..556d12a
--- /dev/null
+++ b/templates/hommabot/etc_crontab.j2
@@ -0,0 +1,10 @@
+# /etc/crontab - root's crontab for FreeBSD
+#
+#
+SHELL=/bin/sh
+PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin
+#
+#minute hour mday month wday who command
+
+# Run hommabot every Monday at 9:00 AM
+0 9 * * 1 root /bin/sh -c "cd /root/hommabot && node index.js"