<Previous | Next>

My Crontab

Posted by Tom on the 20th of September, 2011, at 12:08 pm.


MAILTO=[REDACTED]
# m h  dom mon dow    command

*/10 *  *   *   *     /home/tsbertalan/bin/hf
*/2  *  *   *   *     /home/tsbertalan/bin/usync
  0 12  *   *   *     /home/tsbertalan/bin/updatexml
  0 14 1,15 *   *     /home/tsbertalan/bin/backup-calendar
  0 14  *   *   3     /home/tsbertalan/bin/TSBbackup.sh                                                    

hf is a script that makes sure my Hamachi VPN is running. It used to be very simple, but has since grown to a monstrous 38-line thing that checks for half a dozen different failure modes. And still misses some.

usync uses the rsync-based program Unison to synchronize a certain subset of my home directory between my desktop and my laptop, using said VPN for transportation.

updatexml regenerates the xml files that give me slideshow desktop wallpaper, so I don't get sick of the same picture, and spend hours looking for a new one. It's a Python script.

backup-calendar downloads ics files for my Google calendars. Just in case Google makes their calendar service nonfree, or some such crazy.

TSBackup.sh backs up the PHP code, images, etc. for this website.

Tom's Picasa Web Albums

Bookmark and Share