Koozali.org: home of the SME Server

Cron Jobs

tymiles

Cron Jobs
« 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!

Offline mocco

  • **
  • 32
  • +0/-0
Re: Cron Jobs
« Reply #1 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.
"What is the TRUTH is not always popular"
"What is popular is not always the TRUTH"

Howard Cosell :pint:...

tymiles

Hey Thanks A Lot
« Reply #2 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! :-(

Offline mocco

  • **
  • 32
  • +0/-0
Re: Hey Thanks A Lot
« Reply #3 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
"What is the TRUTH is not always popular"
"What is popular is not always the TRUTH"

Howard Cosell :pint:...

adrianball

Cron Jobs
« Reply #4 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...

Tymiles

Thanks guys!
« Reply #5 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!