The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
SFTP errorcode 1 when run on cron but runs manually Heidi.Ebbs SUN Solaris 2 08-08-2007 01:16 PM
cron entry rujus UNIX for Dummies Questions & Answers 7 01-29-2007 05:36 PM
Cron job entry not running hkapil Shell Programming and Scripting 1 11-21-2005 10:46 AM
Cron entry rramanuj AIX 1 11-01-2005 02:35 PM
What user runs cron? michieka UNIX for Dummies Questions & Answers 10 06-02-2002 11:32 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-10-2005
xadamz23 xadamz23 is offline
Registered User
  
 

Join Date: Aug 2003
Posts: 31
Old cron entry still runs, but shouldnt

Hello,

I'm running OSF1 V4.0 alpha. We used to have a job running from the cron at 6am everyday. We have removed the job from the crontab file, but the job still runs at 6am everyday. The job was in the root's crontab file. I cant figure out why this job is still running after we removed it from the crontab.

Does anyone know why this could be happenning? Any ideas on how I can troubleshoot?

Thanks,
Adam
  #2 (permalink)  
Old 10-11-2005
Just Ice's Avatar
Just Ice Just Ice is offline Forum Advisor  
Lights on, brain off.
  
 

Join Date: Mar 2005
Location: in front of my computer
Posts: 637
check the other crontab files under /var/spool/cron/crontabs as root and grep out the job name ... if not there, check the script to make sure it is not automatically creating an at job for itself ... also check for remote servers running the job on the local box ...
  #3 (permalink)  
Old 10-11-2005
zazzybob's Avatar
zazzybob zazzybob is offline Forum Advisor  
Registered Geek
  
 

Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,100
Also; did you use crontab -e to remove the job, or did you just go in and vi the crontab?

cron will (on most flavours, let's ignore Linux system crontabs, for example), not recognise changes made to a crontab unless you use crontab -e.

You could always send your crond a HUP....

Cheers
ZB
  #4 (permalink)  
Old 10-11-2005
xadamz23 xadamz23 is offline
Registered User
  
 

Join Date: Aug 2003
Posts: 31
Quote:
check the other crontab files under /var/spool/cron/crontabs as root and grep out the job name ... if not there, check the script to make sure it is not automatically creating an at job for itself ... also check for remote servers running the job on the local box ...
I did find the job in one other user's crontab file. However, that user is not listed in the /usr/var/adm/cron/cron.allow file so her crontab file should never even run. I am going to remove the job from her crontab file though.

Thank you both for your ideas.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 06:45 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0