View Single Post
Old 5th May 2010, 01:31
Toucan Toucan is offline
Senior Member
Join Date: Dec 2009
Posts: 479
Thanks: 78
Thanked 41 Times in 34 Posts

Originally Posted by nokia80 View Post
hi all

I have this code in 40 3 * * * / etc / backup-res 1> / dev / null 2> / dev / null cronetab done.

but nothing happens am I doing something wrong or he must be a single line

he sits or in the proper file my server is running debian.

best regards michael
if you have vim as an editor:
vi /etc/crontab
add the line:
40 3 * * * /etc/back-res 1>/dev/null 2>/dev/null
You had spaces in yours and i don't know if that was intentional. Copy and paste the above line.

Make sure that script 'back-res' is in the file :

and is called 'back-res'
Reply With Quote