[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

cron



Hi all,

I've made a simple backup script with tar.
In one of the lines I have:
tar -czvf backup.tar.gz dir1/ dir2/ dir3/
So If I run this script it goes perfectly.
The problem is that if I put it in cron it only
catches the first dir, i.e, dir1/. 
I don't know why it doesn't take dir2 and dir3.
Obviously it makes the backup.tar.gz with dir1 but, if
you make tar -xzvf it ends up with an error.
Thanks in advance,

Jordi

___________________________________________________
Yahoo! Messenger - Nueva versión GRATIS
Super Webcam, voz, caritas animadas, y más...
http://messenger.yahoo.es



Reply to: