summaryrefslogtreecommitdiff
path: root/_cron
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2022-10-23 13:35:39 +0200
committeremkael <emkael@tlen.pl>2022-10-23 13:35:39 +0200
commitc340402fd77f6d4aed6029be8e2b7792d2f00bf0 (patch)
treeab48e44cdf1054cb529a776d89f2d7c7d04726f4 /_cron
parentf7ed9ac02bc55e1d76b9c59b316e645aaf7284de (diff)
Docs and cron config for DB backups
Diffstat (limited to '_cron')
-rw-r--r--_cron/db-backup3
1 files changed, 3 insertions, 0 deletions
diff --git a/_cron/db-backup b/_cron/db-backup
new file mode 100644
index 0000000..9299af5
--- /dev/null
+++ b/_cron/db-backup
@@ -0,0 +1,3 @@
+SHELL=/bin/bash
+# */15 * * * * cd $SITEPATH && source .envrc && make backups >> $SITEPATH/_log/backup.log
+SHELL=/bin/sh