Crontabs and cron jobs

Date Tags cron

I was trying to explain my system of crontabs to someone on IRC today and didn’t put it over very well. So this is my attempt at improving it. I have a users.crontab and a root.crontab both in my cron folder in my home folder. The users ...

more ...

Backups and rsync

I’ve now automated my backups with the following line in my users crontab - 00 */3 * * * /home/boztu/cron/backup.sh - which is calling the file backup.sh which consists of -

1
2
3
#!/bin/bash -x
 #shell script for use with rsync in user crontab
 /usr/bin/rsync -av ...
more ...