03-05-2008 04:49 PM
I really need your help. I had created cron job as below
0 * * * * /usr/bin/sh /utilization/script
with this script
sar -u 10 12 >> /utilization/sp2bm03cpu.txt
(date && vmstat) >> /utilization/sp2bm03mem.txt
However when I delete this cron job, it still keep producing the sp2bm03cpu.txt and xp2bm03mem.txt files. How should I do to make it stop?
Solved! Go to Solution.
03-05-2008 05:32 PM
crontab -l > mycronfile
Next edit mycronfile and remove the desired entry. Finally, "crontab < mycronfile" which not only alters the files under /var/spool but also sends a SIGHUP to the cron daemon that tells it to reread its configuration files.
03-06-2008 09:43 PM
No SIGHUPs here. It puts a message in the cron FIFO: /var/adm/cron/FIFO