The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Cron jobs ajadaun HP-UX 5 10-15-2007 08:14 AM
cron jobs not run robertsnoog Linux 4 02-13-2007 08:24 AM
Cron Jobs lewisoco SUN Solaris 6 09-04-2005 08:14 AM
Cron Jobs dereckbc UNIX for Dummies Questions & Answers 6 01-19-2005 06:29 AM
CRON Jobs eludlow UNIX for Dummies Questions & Answers 4 05-28-2004 05:24 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-12-2007
Registered User
 

Join Date: Sep 2007
Posts: 3
Stumble this Post!
Please help me with the run-away cron jobs

I started a cron job on a cluster super computer. I am just a usual user over there and has no root power. The cron job was set by using "crontab -e". It excecutes a perl command every 20 minutes. I could use crontab -l or crontab -r to list or remove the cron job. However, I just found that I could not see the cron job anymore: "crontab -l" or "crontab -e" shows that I have no cron jobs setup. Then I noticed the old cron job is still running: it excecutes the perl command every 20 minutes. The perl command runs fast and there is nothing hanging over. Now, the "crontab -r" does not remove the cron job at all. I can still add new crontab jobs by using "crontab -e", but the old cron job seems to be out of my control.

How can I stop the cron job like this? I know I can change the conrtol file to make the old cron job do nothing, but I still prefer to get rid of it. Any thought on this? Thanks.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 09-12-2007
Registered User
 

Join Date: Jan 2007
Posts: 2,965
Stumble this Post!
Quote:
Originally Posted by dedema View Post
I know I can change the conrtol file to make the old cron job do nothing, but I still prefer to get rid of it.
I thought you said that "crontab -l" showed nothing?

What can you see in /var/cron/tabs? Is the file with your username non-existant or zero length?

Are you refering to a small wrapper script you use to call the perl program?

I suggest you comment out the call to the perl program or even rename the wrapper. Once you rename, check your mail on the box to see if you start getting mail about not being able to run your job.

If you do, then send that mail plus a listing from "crontab -l" to your administrator.
Reply With Quote
  #3 (permalink)  
Old 09-13-2007
Registered User
 

Join Date: Sep 2007
Posts: 3
Stumble this Post!
there is no such a folder "/var/cron/tabs".

yes, I used a wrapper to call the perl program. I have changed the wrapper to make the old cron job do nothing.

I tried to rename the wrapper, but I kept receiving emails complaining about cron daemon failure "No such file or directory".

I guess I have to aks the admin to help me with it.

Thanks.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 11:04 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0