Browse Source

Add my crontab file for caskir

Noah Petherbridge 10 months ago
parent
commit
0a5904a26e
1 changed files with 33 additions and 0 deletions
  1. 33
    0
      misc/cron/crontab.caskir

+ 33
- 0
misc/cron/crontab.caskir View File

@@ -0,0 +1,33 @@
1
+# crontab for caskir (main desktop PC)
2
+
3
+# Edit this file to introduce tasks to be run by cron.
4
+#
5
+# Each task to run has to be defined through a single line
6
+# indicating with different fields when the task will be run
7
+# and what command to run for the task
8
+#
9
+# To define the time you can provide concrete values for
10
+# minute (m), hour (h), day of month (dom), month (mon),
11
+# and day of week (dow) or use '*' in these fields (for 'any').#
12
+# Notice that tasks will be started based on the cron's system
13
+# daemon's notion of time and timezones.
14
+#
15
+# Output of the crontab jobs (including errors) is sent through
16
+# email to the user the crontab file belongs to (unless redirected).
17
+#
18
+# For example, you can run a backup of all your user accounts
19
+# at 5 a.m every week with:
20
+# 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/
21
+#
22
+# For more information see the manual pages of crontab(5) and cron(8)
23
+#
24
+# m h  dom mon dow   command
25
+
26
+# Pull backups from my web server.
27
+0 2 * * * /home/kirsle/kbackupd/pull.sh >/home/kirsle/kbackupd/last.log 2>&1
28
+
29
+# Push my backups to offsite storage.
30
+0 4 * * * rsync -avu --delete /mnt/Midnight/Images/Organized/ kirsle@kirsle.net:/mnt/volume/photo-backup/
31
+
32
+# Update the DNS for my dynamic IP address.
33
+#0 * * * * /home/kirsle/go/bin/do-dyn-dns >> /home/kirsle/do-dyn-dns.log 2>&1