UNIX "Crontab update" | Unix Linux Forums | UNIX for Dummies Questions & Answers

  Go Back    


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 !!

UNIX "Crontab update"

UNIX for Dummies Questions & Answers


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 07-27-2007
ddrivera ddrivera is offline
Registered User
 
Join Date: Jul 2007
Last Activity: 28 July 2007, 10:12 AM EDT
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
UNIX "Crontab update"

Is there another location to update a cron that's run daily. I have updated the root cron located "/var/spool/cron/crontabs " After the update the cron doesn't run at the new time it was set at. It continues to run at the old time. Checking the root cron after it has been updated show the modification with the new time was saved. Any ideas?
Sponsored Links
    #2  
Old 07-28-2007
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon (Administrator Emeritus)
 
Join Date: Aug 2001
Last Activity: 16 April 2014, 8:22 PM EDT
Location: Ashburn, Virginia
Posts: 9,833
Thanks: 42
Thanked 378 Times in 225 Posts
You cannot simply edit the file. You must use the crontab command. cron reads the crontabs into core at startup and then will ignore changes you make to the files. The crontab program informs cron of the change. At this point you should stop and restart cron.
Sponsored Links
    #3  
Old 07-28-2007
ddrivera ddrivera is offline
Registered User
 
Join Date: Jul 2007
Last Activity: 28 July 2007, 10:12 AM EDT
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
How to restart cron

How do I restart the cron. I looked at the log file and the last line reads sigterm.
    #4  
Old 07-28-2007
ddrivera ddrivera is offline
Registered User
 
Join Date: Jul 2007
Last Activity: 28 July 2007, 10:12 AM EDT
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
If my cron has recieved a SIGTERM. How do I restart the cron?
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Unix "look" Command "File too large" Error Message shishong UNIX for Dummies Questions & Answers 14 05-30-2011 03:47 PM
awk command to replace ";" with "|" and ""|" at diferent places in line of file shis100 Shell Programming and Scripting 7 03-16-2011 08:59 AM
Unix commands delete all files starting with "X" except "X" itself. HELP!!!!? soccerball Shell Programming and Scripting 2 10-15-2009 07:24 PM
Commands on Digital Unix equivalent to for "top" and "sar" on other Unix flavour sameerdes UNIX for Advanced & Expert Users 1 08-28-2002 08:41 PM



All times are GMT -4. The time now is 08:53 PM.