The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Multiple crontab entries crashing server alexandicity Linux 2 05-12-2008 06:25 AM
Duplicate crontab entries vikashtulsiyan SUN Solaris 2 05-06-2008 02:07 AM
script to extract crontab entries raj@au Shell Programming and Scripting 5 03-09-2008 10:34 AM
which file is updated after modified the crontab entries. krishna176 SUN Solaris 1 03-25-2007 11:42 AM
crontab entries deleted !! minazk UNIX for Advanced & Expert Users 6 11-22-2002 12:27 PM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-24-2008
Read Only
 

Join Date: Apr 2008
Posts: 40
how to change crontab entries

Hi Friends,

I need to change crontab entries in prod.

$crontab -l -> using this i can see the entries only
Plese tell me how to edit this crontab and how to change the entires

Waiting for ......
Thanks In advance friends

Krish.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 04-24-2008
Registered User
 

Join Date: Apr 2008
Posts: 1
do crontab -l > cron.base # this will create bas file for your cron entry
Edit cron.base as per your requirment.

Do crontab cron.base

New values will be picked, cross check via crontab -l

Thanks
T.T.
Reply With Quote
  #3 (permalink)  
Old 04-25-2008
Registered User
 

Join Date: Aug 2007
Location: Bangalore
Posts: 285
Quote:
Originally Posted by kittusri9 View Post
Hi Friends,

I need to change crontab entries in prod.

$crontab -l -> using this i can see the entries only
Plese tell me how to edit this crontab and how to change the entires

Waiting for ......
Thanks In advance friends

Krish.
put this at the command prompt

Code:
crontab -e

This will open the cron file and there you can edit it.
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 08:39 PM.


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