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
cancel account samb057 Post Here to Contact Site Administrators and Moderators 3 06-07-2007 01:05 PM
Cancel QCompile itldp UNIX for Dummies Questions & Answers 1 03-29-2005 01:13 PM
cancel the massage goldfelda UNIX for Advanced & Expert Users 1 02-22-2004 07:29 AM
How to cancel all printjobs at once? Erik Rooijmans UNIX for Dummies Questions & Answers 3 11-26-2002 04:13 PM
Permission Denied when cancel lp job Ron Restieri UNIX for Dummies Questions & Answers 2 04-20-2002 05:22 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 09-14-2007
Registered User
 

Join Date: Jun 2007
Posts: 40
Cron Job... How to cancel it.

Hello, I am sort of new to cron jobs, I have a cron job running everyday that no longer needs to.

How do I cancel it?
Reply With Quote
Forum Sponsor
  #2  
Old 09-14-2007
Registered User
 

Join Date: Sep 2007
Posts: 3
if you can see your cron jobs with "crontab -l", you can cancel it by
typing "crontab -r".
Reply With Quote
  #3  
Old 09-14-2007
Registered User
 

Join Date: Jun 2007
Posts: 40
But..

But does that remove all jobs?

How do I say I want to cancel only 1 job. Is there a .conf file or something I can remove the line from?

Also, what about canceling a rsync job?

Last edited by komputersman; 09-14-2007 at 10:54 AM.
Reply With Quote
  #4  
Old 09-15-2007
reborg's Avatar
Administrator
 

Join Date: Mar 2005
Location: Ireland
Posts: 3,590
use:

crontab -e

to delete the line for the job you want to remove, then save and quit.
Reply With Quote
  #5  
Old 09-21-2007
Registered User
 

Join Date: Jun 2007
Posts: 19
yes
you can use crontab -e
and you can edit your cron...
ex:my cron

#00,30 8,9,10,11,12,13,14,15,16,17,18,19,20,21,22 * * * /export/home/lsav/MAKING/cronsas 1>/dev/null 2>/dev/null
3,18,33,48 3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23 * * * /export/home/lsav/gratika/AA/asr 1>/dev/null 2>/dev/null
40 23 31 7 * /export/home/lsav/GINTINGSERVER/AA/kirim.sh 1>/dev/null 2>/dev/null
0,15,30,45 * * * * /export/home/lsav/GINTINGSERVER/AA/cpu_sar 1>/dev/null 2>&1

or....you can remove line in your cron if unused in future.

Last edited by fredginting; 04-11-2008 at 12:48 AM.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 01:27 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0