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


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

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 12-28-2004
Registered User
 
Join Date: Nov 2004
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
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
Unix Daemon (Adminstrator Emeritus)
 
Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,692
Thanks: 27
Thanked 294 Times in 168 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
Registered User
 
Join Date: Nov 2004
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
Unix Daemon (Adminstrator Emeritus)
 
Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,692
Thanks: 27
Thanked 294 Times in 168 Posts
What kind of unix server??? Run "uname -a" and post the results.
Sponsored Links
    #6  
Old 12-28-2004
Registered User
 
Join Date: Nov 2004
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
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 02:37 AM.