diff options
author | Guangxiong Lin <[email protected]> | 2021-11-18 23:21:26 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2021-11-18 23:21:26 +0800 |
commit | f240bf7e72d125912a87a58dca71b0df931fbea7 (patch) | |
tree | d14e318b65a9ae06863c9aba60e90e50325c6110 | |
parent | c60297e6481019fb3d936b561596ba3bfda7db70 (diff) | |
download | dotfiles-f240bf7e72d125912a87a58dca71b0df931fbea7.tar.gz dotfiles-f240bf7e72d125912a87a58dca71b0df931fbea7.tar.bz2 dotfiles-f240bf7e72d125912a87a58dca71b0df931fbea7.zip |
Add anacrontab
-rw-r--r-- | anacrontab | 18 | ||||
-rw-r--r-- | crontab | 1 |
2 files changed, 19 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 @@ -1,3 +1,4 @@ */30 * * * * /usr/bin/newsboat -x reload */10 * * * * /usr/bin/mbsync -a 00 */3 * * * /usr/bin/trash-empty -f 30 +00 * * * * /usr/sbin/anacron -t ~/.dotfiles/anacrontab -S ~/.cache/anacron/spool |