[SlugBug] Appending to Crontab ?

Alan Dawson aland at burngreave.net
Wed Jan 18 00:49:48 GMT 2006


Hi .. 

I've got a number of similar tasks that need to be done from cron whenever a new
site is added.

the cron tasks are already set out in a file called 

/srv/site-1/cron/crontab.in
/srv/site-2/cron/crontab.in
..

but when i go 

crontab -u site-process /srv/site-1/cron/crontab.in
crontab -u site-process /srv/site-2/cron/crontab.in

the second line wipes out the crons from the first

Is there a way to append to a crontab from script ?  

cheers 

Alan Dawson
-- 
"If you make decisions about software -- or anything -- based solely on
short-term cost and benefit, someone with a longer view can easily
manoeuver you into a trap from which it is hard to escape."  
  
 
 


More information about the SlugBug mailing list