View Single Post
  #38  
Old 5th May 2010, 00:31
Toucan Toucan is offline
Senior Member
 
Join Date: Dec 2009
Posts: 478
Thanks: 78
Thanked 39 Times in 33 Posts
Default

Quote:
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:
Code:
vi /etc/crontab
add the line:
Code:
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 :

Code:
/etc
and is called 'back-res'
Reply With Quote