is the path needed. I need to send a signal. I want to run "killall -TERM
proxyper" as the command. Will this work
as it is?
Thanks
Ray Booysen
----- Original Message -----
From: "Bruce Marshall"
On Monday 27 August 2001 09:45 am, Ray Booysen wrote:
Is there anyone who can help me understand how to use cron to do events at certain times.
Thanks Ray Booysen
Here's a simple example:
1) Issue: crontab -e (as user or root as appropriate)
2) Edit the file shown (which might be empty to start)
Here are a few examples from mine:
PATH=/usr/local/sbin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6 /bin:/opt/bin:/opt/teTeX/bin:/opt/kde/bin:
LD_LIBRARY_PATH=/usr/lib:/usr/local/orexx/lib:/opt/kde/lib:/usr/local/bin: MAILTO="" # min hr day month dayofweek #0-59 0-23 0-31 0-12 0-7 (0 is Sun)
#Run Tripwire at 15 after noon every day 15 12 * * * /usr/local/Tripwire_221/bin/runtw #update the clock every day at Noon (let NTP try for awhile) 0 12 * * * rdate -s time-b.nist.gov 1 12 * * * hwclock --systohc # min hr day month dayofweek #run klogd once an hour 1 0-23 * * * klogd -o #Ping the world every 5 minutes 1-59/5 0-23 * * * ping somewhere.edu #Run LOGCHECK every hour 1 0-23 * * * /usr/local/bin/logcheck.sh #Run the weather data get every 10 mins */10 * * * * /usr/local/bin/getwx #check if daemons have quit every 15 mins */15 * * * * /usr/local/bin/keepup # min hr day month dayofweek #Create web history at 1am each day 0 1 * * * /home/welsh/logs/webanal 0 1 * * * /home/logs/webanal # Do a time update once a day 00:29 29 0 * * * /usr/sbin/ntpdate cunixd.cc.columbia.edu
NOTE: Most of these are bogus or commented out!!!. But use the comments and the time/day values as examples....
--
+--------------------------------------------------------------------------- -+
+ Bruce S. Marshall bmarsh@bmarsh.com Bellaire, MI 08/27/01 11:30 +
+--------------------------------------------------------------------------- -+
"There are only four words in the English language which end in "-dous": tremendous, horrendous, stupendous, and hazardous."
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com