summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2023-10-07 21:24:52 +0200
committeremkael <emkael@tlen.pl>2023-10-07 21:24:52 +0200
commit3e59eb5557a2df1acb3cb8da60adb0b5d17b9f7c (patch)
tree725021a12a57d1e5a9b7d9131e5c951e59c86524
parenta6ca0fa635e3a3816f9f11d529f22f4896b3bae7 (diff)
Enabling crons
-rw-r--r--_cron/autocommit2
-rw-r--r--_cron/db-backup2
2 files changed, 2 insertions, 2 deletions
diff --git a/_cron/autocommit b/_cron/autocommit
index 4e73f89..dc3b17c 100644
--- a/_cron/autocommit
+++ b/_cron/autocommit
@@ -1,3 +1,3 @@
SHELL=/bin/bash
-*/15 * * * * cd $SITEPATH && source .envrc && make autocommit >> $SITEPATH/_log/autocommit.log
+*/5 * * * * cd $SITEPATH && source .envrc && make autocommit >> $SITEPATH/_log/autocommit.log
SHELL=/bin/sh
diff --git a/_cron/db-backup b/_cron/db-backup
index 9299af5..a4fa1b8 100644
--- a/_cron/db-backup
+++ b/_cron/db-backup
@@ -1,3 +1,3 @@
SHELL=/bin/bash
-# */15 * * * * cd $SITEPATH && source .envrc && make backups >> $SITEPATH/_log/backup.log
+*/15 * * * * cd $SITEPATH && source .envrc && make backups >> $SITEPATH/_log/backup.log
SHELL=/bin/sh