crontab automatically

Ben bda20 at cam.ac.uk
Fri Sep 11 08:24:21 UTC 2009


On Fri, 11 Sep 2009, Slackli User wrote:

> Is it possible to add a crontab entry automatically using a shell script? 
> Thanks.

I tend to go with:

(crontab -l ; echo "<crontab entry>") | crontab

Ben
-- 
Unix Support, MISD, University of Cambridge, England
Plugger of wire, typer of keyboard, imparter of Clue
         Life Is Short.          It's All Good.




More information about the redhat-list mailing list