View Single Post
Old 5th March 2012, 15:04
n47 n47 is offline
Junior Member
Join Date: Mar 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts

Originally Posted by n47 View Post

Thank you for your script. It's working perfectly but I have a problem when I try to launch the script with CRON.

Actually, if I run manually the script with this command

The script back up my datas. But if Cron launchs the script, nothing happens... I tried to see if there is errors in cron.log but I don't see them ...

Cron is working, I do a simple test by creating a file and it's working.

The only crontask which is not working is this one :

10 12 * * 1 /ect/ 1>/dev/null 2>/dev/null

Do you have an idea ?

Thank you.
Problem solved, I rename /etc/ with /etc/back-res and I replace cron task 10 12 * * 1 /ect/ 1>/dev/null 2>/dev/null with 10 12 * * 1 /ect/back-res 1>/dev/null 2>/dev/null
Reply With Quote