drezha
November 10th, 2006, 05:17 PM
Not sure if it's strictly programming but thought this was best place for it.
I've got a cron job that runs every Sunday morning to back up my documents but it doesn't complete. It only backs about 5Mb up before stopping.
I've got a file called DocBackup that has the following in.
* 5 * * 0 tar pzcvf /home/chris/Desktop/DocsBackup.tgz --exclude="/home/chris/Disc2/Documents/My Music" --exclude="/home/chris/Disc2/Documents/My Videos" /home/chris/Disc2/Documents
The command works when I use it in the terminal. I submitted the file to the cron list. Now when I type crontab -l I get the line above. Is there any reason why it doesn't finish?
Would like to wake up in the morning and just stick a CD in and burn the file off rather than having to redo the command in the terminal.
I've got a cron job that runs every Sunday morning to back up my documents but it doesn't complete. It only backs about 5Mb up before stopping.
I've got a file called DocBackup that has the following in.
* 5 * * 0 tar pzcvf /home/chris/Desktop/DocsBackup.tgz --exclude="/home/chris/Disc2/Documents/My Music" --exclude="/home/chris/Disc2/Documents/My Videos" /home/chris/Disc2/Documents
The command works when I use it in the terminal. I submitted the file to the cron list. Now when I type crontab -l I get the line above. Is there any reason why it doesn't finish?
Would like to wake up in the morning and just stick a CD in and burn the file off rather than having to redo the command in the terminal.