The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > SUN Solaris
Google UNIX.COM


SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to find the jobs running in background and stop srinivas_paluku Shell Programming and Scripting 7 01-28-2008 04:41 PM
Start Stop Apache MILLERJ62 AIX 2 12-27-2005 01:40 PM
Help: how to start/stop FTP server in solaris? eddsos SUN Solaris 1 08-07-2005 10:32 AM
Stop/Start proftpd Lomic UNIX for Dummies Questions & Answers 1 12-09-2004 05:38 AM
Start/Stop Script jjv1 UNIX for Dummies Questions & Answers 2 12-16-2003 12:28 PM

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

Join Date: Mar 2008
Posts: 2
Stumble this Post!
How to start/stop cron jobs on live server

Hi,

I am working with a company where some times i need to start/stop cron jobs on need basis.

I have one option to kill cron daemon.Is it right?
Please correct me.

Waiting for your reply.

Thanks in advance..
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 03-12-2008
Registered User
 

Join Date: Mar 2008
Posts: 10
Stumble this Post!
Why wouldn't you just comment out the specific cron job(s) you want to not run from the crontab? when you are ready for them to run again, you just uncomment them in crontab.
Reply With Quote
  #3 (permalink)  
Old 03-12-2008
Registered User
 

Join Date: Nov 2007
Posts: 3
Stumble this Post!
Restart cron.

Instead of killing the daemon and starting it. Use /etc/init.d/cron stop and /etc/init.d/cron start.

OR

if you just wish to refresh the cron daemon to reread the entries give HUP signal to cron daemon.

#kill -HUP PID #### (PID is for cron daemon)
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 08:33 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