diff options
-rw-r--r-- | .chezmoiignore | 1 | ||||
-rw-r--r-- | crontab | 37 |
2 files changed, 38 insertions, 0 deletions
diff --git a/.chezmoiignore b/.chezmoiignore index 436216e..a96780b 100644 --- a/.chezmoiignore +++ b/.chezmoiignore @@ -9,6 +9,7 @@ packages-debian packages-openbsd .gitmodules chezmoi.toml.censored +crontab {{- if ne .chezmoi.os "openbsd" }} # only install if on openbsd @@ -0,0 +1,37 @@ +# Edit this file to introduce tasks to be run by cron. +# +# Each task to run has to be defined through a single line +# indicating with different fields when the task will be run +# and what command to run for the task +# +# To define the time you can provide concrete values for +# minute (m), hour (h), day of month (dom), month (mon), +# and day of week (dow) or use '*' in these fields (for 'any'). +# +# Notice that tasks will be started based on the cron's system +# daemon's notion of time and timezones. +# +# Output of the crontab jobs (including errors) is sent through +# email to the user the crontab file belongs to (unless redirected). +# +# For example, you can run a backup of all your user accounts +# at 5 a.m every week with: +# 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/ +# +# For more information see the manual pages of crontab(5) and cron(8) +# +# m h dom mon dow command +0 * * * * zsh -c "rkinits" >/dev/null 2>&1 +0 0 * * * TEXMFHOME=${HOME}/.texmf updmap -user > /dev/null +0 0 * * * /home/rak/bin/Internet.m3u.sh +0 0 * * sun mount | grep -q /media/t && /media/t/Archives/irc-logs/backup.sh +0 2 * * * mount | grep -q /media/t && /media/t/Archives/email/rak.ac/backup.sh +30 2 * * * mount | grep -q /media/t && /media/t/Archives/git.rak.ac/backup.sh +0 4 * * * /home/rak/bin/borg-home.sh > /dev/null +30 4 * * * mount | grep -q /media/t && /media/t/borg-tosh.sh > /dev/null +0 23 1,15 * * /home/rak/bin/borg-check.sh +35 23 * * * recollindex >/dev/null 2>&1 +0 * * * * ${HOME}/Documents/papers/commit-push.sh >/dev/null 2>&1 +0 0 * * * /usr/sbin/tmpreaper --mtime-dir 30d ~/Downloads +0 0 * * * /usr/sbin/tmpreaper --mtime-dir 90d ~/tmp +0 3 * * * updatedb -l 0 -o ~/.local/state/plocate/home.db -U ~ |