aboutsummaryrefslogtreecommitdiff
path: root/crontab
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@rak.ac>2022-10-29 11:55:48 -0400
committerRyan Kavanagh <rak@rak.ac>2022-10-29 11:55:48 -0400
commit856f88c15de8e6e3844237f48cedf0e50cfe3701 (patch)
tree68c1c048245a30df518167c284c756c7dfdc6481 /crontab
parentwpa_supplicant (diff)
crontab
Diffstat (limited to '')
-rw-r--r--crontab37
1 files changed, 37 insertions, 0 deletions
diff --git a/crontab b/crontab
new file mode 100644
index 0000000..d049afc
--- /dev/null
+++ b/crontab
@@ -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 ~