Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: tymiles on February 02, 2004, 05:35:20 AM

Title: Cron Jobs
Post by: tymiles on February 02, 2004, 05:35:20 AM
I have deleted a program from my machine (WebCal) but the cron job it set up to send out reminders is now filling up my admin mailbox.

Could someone let me know what is the most easy way in e-smith to delete this particular cron job so I can stop getting the alerts. :-)

Thanks for the help!
Title: Re: Cron Jobs
Post by: mocco on February 02, 2004, 07:31:46 AM
Quote from: "tymiles"

Could someone let me know what is the most easy way in e-smith to delete this particular cron job so I can stop getting the alerts. :-)

Thanks for the help!


Login as ROOT and using Midnight Commander, navigate to /etc
Depending on whether it is a hourly,daily(my guess),weekly or monthly event, open the appropriate Cron file and delete the offending Cron job.
Title: Hey Thanks A Lot
Post by: tymiles on February 02, 2004, 02:16:22 PM
That was great info to know! Didn't know it was that easy! But I STILL can't find this offending cron job! I don't know if it's a template or something or I am just blind!

Below is what I get in my alert!

Cron <root@linux> /usr/bin/webcal_remind.pl >> /home/e-smith/files/ibays/webcal/files/message.log 2>&1  

/bin/sh: /home/e-smith/files/ibays/webcal/files/message.log: No such file or directory


:-( It would be no big deal but I am getting like 75 e-mails an hour! :-(
Title: Re: Hey Thanks A Lot
Post by: mocco on February 03, 2004, 07:11:48 AM
I don't know the name of the cron job but hopefully you do.
Try
find / -name '*webcal*'
(or what ever the file name is called. Then navigate to there and delete.

If that doesn't work read up about it here and/or email the author.

http://bulldog.tzo.org/webcal/readme.txt
http://bulldog.tzo.org/webcal/webcal.html
Hope this helps
Title: Cron Jobs
Post by: adrianball on February 03, 2004, 09:53:06 AM
To stop the mails (until you find the cron job and do it properly), you could:-

mkdir -p /home/e-smith/files/ibays/webcal/files
cd /home/e-smith/files/ibays/webcal/files
ln -s /dev/null message.log

Ugly, and not the real solution, but it will quieten things down...
Title: Thanks guys!
Post by: Tymiles on February 03, 2004, 06:45:55 PM
Thanks a lot for the help I think I got it. It was in the Var, Spool, Cron dir.

I hoped it's dead!