disable cron job | 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 !!

disable cron job

UNIX for Dummies Questions & Answers


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 12-28-2004
legato legato is offline
Registered User
 
Join Date: Nov 2004
Last Activity: 20 August 2007, 11:13 PM EDT
Location: singapore
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
disable cron job

hi

i got to shut down my server for the new year day. i am required to disable all cronjob temporarily. what is the command to do so?
after start up the server will the cron job run itself automatically or i gotta restart all again?
Sponsored Links
    #2  
Old 12-28-2004
bhargav's Avatar
bhargav bhargav is offline Forum Advisor  
Registered User
 
Join Date: Sep 2004
Last Activity: 26 July 2012, 3:38 PM EDT
Location: USA
Posts: 512
Thanks: 0
Thanked 2 Times in 2 Posts
I do n't think u have to do any thing in perticular.
crontab entries pick up automatically.

Check crontab entries by 'crontab -l' after reboot.

If it shows all entries, ... then u do n't need to worry
abt any thing.
Sponsored Links
    #3  
Old 12-28-2004
Perderabo's Avatar
Perderabo Perderabo is online now Forum Staff  
Unix Daemon (Administrator Emeritus)
 
Join Date: Aug 2001
Last Activity: 24 July 2014, 1:24 PM EDT
Location: Ashburn, Virginia
Posts: 9,895
Thanks: 58
Thanked 413 Times in 248 Posts
Gee, if you shut down your server, that should do it. Computers won't run cron jobs while they're shut off. And yes, the start up scripts should restart cron when you power up your system.

If you want to stop and restart cron while leaving the server up, there is generally a way to that safely by running the cron start-up and shut-down scripts manually. If you tell us what type of system you have, we can help you with details on this.
    #4  
Old 12-28-2004
legato legato is offline
Registered User
 
Join Date: Nov 2004
Last Activity: 20 August 2007, 11:13 PM EDT
Location: singapore
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
hi thanks for the prompt reply
i am running on unix server.
wat is the command to disable cron service if the system it still up?
Sponsored Links
    #5  
Old 12-28-2004
Perderabo's Avatar
Perderabo Perderabo is online now Forum Staff  
Unix Daemon (Administrator Emeritus)
 
Join Date: Aug 2001
Last Activity: 24 July 2014, 1:24 PM EDT
Location: Ashburn, Virginia
Posts: 9,895
Thanks: 58
Thanked 413 Times in 248 Posts
What kind of unix server??? Run "uname -a" and post the results.
Sponsored Links
    #6  
Old 12-28-2004
legato legato is offline
Registered User
 
Join Date: Nov 2004
Last Activity: 20 August 2007, 11:13 PM EDT
Location: singapore
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
the result is
SunOS statsfs07 5.8 Generic_117000-03 sun4u sparc SUNW,Ultra-4

from here can i know what version of solaris is it runnin?
how to see wat version its in?
thanks
Sponsored Links
    #7  
Old 12-29-2004
bhargav's Avatar
bhargav bhargav is offline Forum Advisor  
Registered User
 
Join Date: Sep 2004
Last Activity: 26 July 2012, 3:38 PM EDT
Location: USA
Posts: 512
Thanks: 0
Thanked 2 Times in 2 Posts
i guess ..... by simply commenting crontab entries by #
will not trigger cron jobs.


to edit cron entries ... do 'crontab -e '


and do comment crontab entries.
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
SSL/TLS renegotiation DoS -how to disable? Is it advisable to disable? manalisharmabe Red Hat 2 10-24-2011 04:57 AM
How to disable Enable/Disable Tab Key carnegiex Shell Programming and Scripting 1 12-13-2009 11:00 AM
Auto enable/disable cron job pxy2d1 Shell Programming and Scripting 5 12-09-2009 09:23 AM
disable cron job patdev UNIX for Dummies Questions & Answers 3 10-02-2009 03:01 PM



All times are GMT -4. The time now is 01:42 PM.