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



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
English Japanese Spanish French German Portuguese Italian Powered by Powered by Google
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 12-28-2004
Registered User
 

Join Date: Nov 2004
Location: singapore
Posts: 40
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 (permalink)  
Old 12-28-2004
bhargav's Avatar
bhargav bhargav is offline Forum Advisor  
Registered User
 

Join Date: Sep 2004
Location: USA
Posts: 511
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.
  #3 (permalink)  
Old 12-28-2004
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,150
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 (permalink)  
Old 12-28-2004
Registered User
 

Join Date: Nov 2004
Location: singapore
Posts: 40
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?
  #5 (permalink)  
Old 12-28-2004
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,150
What kind of unix server??? Run "uname -a" and post the results.
  #6 (permalink)  
Old 12-28-2004
Registered User
 

Join Date: Nov 2004
Location: singapore
Posts: 40
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
  #7 (permalink)  
Old 12-29-2004
bhargav's Avatar
bhargav bhargav is offline Forum Advisor  
Registered User
 

Join Date: Sep 2004
Location: USA
Posts: 511
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

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 Off


More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to disable SU right civic2005 Solaris 4 12-16-2008 11:19 AM
cron job starts new cron proccess ron76 Solaris 3 05-12-2008 02:07 AM
AIX and cron logs filtering ?: /etc/cronlog.conf, /var/adm/cron/log Keith Johnson AIX 0 01-09-2008 08:32 PM
Disable X bbutler3295 UNIX for Dummies Questions & Answers 8 03-19-2002 07:19 PM



All times are GMT -4. The time now is 09:01 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-2010. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0