SUMMARY: crontab update in rdist

From: Darvin Pope <darvin_pope_at_hotmail.com>
Date: Fri Sep 07 2001 - 09:33:57 EDT
Crontab in rdist

Thanks to all who responded, ESPECIALLY Sarah Eckhause, who put up with my 
ineptitude on a very simple shell primitive.

Original Question:

Is there a way i can add a crontab entry automatically, using rdist?

Best answer, From Bertrand Hutin:

create a file containing your crontab entry, a file containing a script,
and use a Distfile like this

crontab-entry -> remote
     install;
crontab-script -> remote
     install;
     special "sh ${FILE}";

crontab-script could be like:
crontab -l >crontab
cat crontab-entry >> crontab
crontab <crontab


Thanks to:

Dan Lowe
Dieter Gobbers
Buddy Lumpkin
and Sarah Eckhause


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
Received on Fri Sep 7 14:33:57 2001

This archive was generated by hypermail 2.1.8 : Wed Mar 23 2016 - 16:32:30 EDT