The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > 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 08:41 PM
Start Stop Apache MILLERJ62 AIX 2 12-27-2005 05:40 PM
Help: how to start/stop FTP server in solaris? eddsos SUN Solaris 1 08-07-2005 01:32 PM
Stop/Start proftpd Lomic UNIX for Dummies Questions & Answers 1 12-09-2004 09:38 AM
Start/Stop Script jjv1 UNIX for Dummies Questions & Answers 2 12-16-2003 04:28 PM

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

Join Date: Mar 2008
Posts: 2
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..
  #2 (permalink)  
Old 03-12-2008
synchro synchro is offline
Registered User
  
 

Join Date: Mar 2008
Posts: 10
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.
  #3 (permalink)  
Old 03-13-2008
santosh.mane santosh.mane is offline
Registered User
  
 

Join Date: Nov 2007
Posts: 3
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)
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 12:08 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