Re: cron entries

From: Chris Gregors (Chris.Gregors@TELUS.COM)
Date: Wed Jan 29 2003 - 12:57:42 EST


A more correct way would be to let cron manage the crontab for you.

Try this:

crontab -l >/tmp/somefile$$
echo "new stuff to cron" >>/tmp/somefile$$
crontab /tmp/somefile$$
rm /tmp/somefile$$

This way cron will hup itself when it re-reads the file.

-----Original Message-----
From: rohan chandrashekar [mailto:rohanchandrashekar@YAHOO.COM]
Sent: Tuesday, January 28, 2003 1:39 PM
To: aix-l@Princeton.EDU
Subject: cron entries

Hi!

           I have about 150 AIX servers and I need to append the skulker script in the root crontab file in all these servers. I can achieve this by doing a scmd from a central server which is being trusted by all the 150 servers. After this I need to either stop and restart the cron demon or do a HUP. This is difficult to run using smcd because the cron pid is not the same on all the servers. Is there any way I can achieve my task without logging into each and every server..?

Rohan

  _____

Do you Yahoo!?
Yahoo! Mail <http://rd.yahoo.com/mail/mailsig/*http://mailplus.yahoo.com> Plus - Powerful. Affordable. Sign up <http://rd.yahoo.com/mail/mailsig/*http://mailplus.yahoo.com> now



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:32 EDT