The UNIX and Linux Forums  

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

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 09-14-2007
komputersman komputersman is offline
Registered User
  
 

Join Date: Jun 2007
Posts: 46
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?
  #2 (permalink)  
Old 09-14-2007
dedema dedema is offline
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".
  #3 (permalink)  
Old 09-14-2007
komputersman komputersman is offline
Registered User
  
 

Join Date: Jun 2007
Posts: 46
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 02:54 PM..
  #4 (permalink)  
Old 09-15-2007
reborg's Avatar
reborg reborg is offline Forum Staff  
Administrator
  
 

Join Date: Mar 2005
Location: Ireland
Posts: 4,235
use:

crontab -e

to delete the line for the job you want to remove, then save and quit.
  #5 (permalink)  
Old 09-21-2007
fredginting fredginting is offline
Registered User
  
 

Join Date: Jun 2007
Posts: 21
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 04:48 AM..
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 03:45 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