aboutsummaryrefslogtreecommitdiff
path: root/anacrontab
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2021-11-18 23:21:26 +0800
committerGuangxiong Lin <[email protected]>2021-11-18 23:21:26 +0800
commitf240bf7e72d125912a87a58dca71b0df931fbea7 (patch)
treed14e318b65a9ae06863c9aba60e90e50325c6110 /anacrontab
parentc60297e6481019fb3d936b561596ba3bfda7db70 (diff)
downloaddotfiles-f240bf7e72d125912a87a58dca71b0df931fbea7.tar.gz
dotfiles-f240bf7e72d125912a87a58dca71b0df931fbea7.tar.bz2
dotfiles-f240bf7e72d125912a87a58dca71b0df931fbea7.zip
Add anacrontab
Diffstat (limited to 'anacrontab')
-rw-r--r--anacrontab18
1 files changed, 18 insertions, 0 deletions
diff --git a/anacrontab b/anacrontab
new file mode 100644
index 0000000..b719412
--- /dev/null
+++ b/anacrontab
@@ -0,0 +1,18 @@
+# /etc/anacrontab: configuration file for anacron
+
+# See anacron(8) and anacrontab(5) for details.
+
+SHELL=/bin/sh
+PATH=/sbin:/bin:/usr/sbin:/usr/bin
+MAILTO=root
+# the maximal random delay added to the base delay of the jobs
+RANDOM_DELAY=45
+# the jobs will be started during the following hours only
+START_HOURS_RANGE=3-22
+
+#period in days delay in minutes job-identifier command
+# 1 5 cron.daily nice run-parts /etc/cron.daily
+# 7 25 cron.weekly nice run-parts /etc/cron.weekly
+# @monthly 45 cron.monthly nice run-parts /etc/cron.monthly
+
+1 5 cron.backup.daily ~/.dotfiles/scripts/backup.sh