dotfiles/root/etc/anacrontab

24 lines
1.2 KiB
Plaintext
Raw Permalink Normal View History

2024-01-25 23:33:02 +00:00
# /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
2024-01-27 03:27:12 +00:00
#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
2024-01-25 23:33:02 +00:00
2024-01-27 03:27:12 +00:00
@daily 15 pacman_file_db /usr/bin/pacman -Fy
2024-01-25 23:33:02 +00:00
@daily 10 snapshot.daily /usr/local/bin/btrfs-backup -l daily -k 8 -d /.btrfs/snapshots -- /.btrfs/root /.btrfs/data
@weekly 20 snapshot.weekly /usr/local/bin/btrfs-backup -l weekly -k 5 -d /.btrfs/snapshots -- /.btrfs/root /.btrfs/data
@monthly 30 snapshot.monthly /usr/local/bin/btrfs-backup -l monthly -k 3 -d /.btrfs/snapshots -- /.btrfs/root /.btrfs/data