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
awk updating one file with another, comparing, updating mecano Shell Programming and Scripting 11 09-14-2008 03:50 AM
Sed Help in Updating something only in one particular file. bisla.yogender Shell Programming and Scripting 4 03-24-2008 08:48 AM
updating kde 3.5 to 4.0 revolver UNIX for Dummies Questions & Answers 2 01-25-2008 08:04 PM
cron is torturing me. (not updating) tphyahoo UNIX for Dummies Questions & Answers 3 07-10-2006 08:40 AM
updating ssa chosie AIX 1 06-03-2005 01:39 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 06-13-2008
Registered User
 

Join Date: May 2008
Posts: 32
updating a job in cron

I have updated the cronjob entry like below.

55 06 * * * <script name>|mailx -s <subject> abc@gmail.com bcd@gmail.com

in the cron file ( i.e. /var/spool/cron/crontabs/root)

Before updation the entry was like below.

55 06 * * * <script name>|mailx -s <subject> abc@gmail.com

I have added just one email id with space as separator . when I run crontab -l, it is showing the updated entry.

when I see the /var/cron/log, it shows the old job run ( mail sent to abc@gmail.com only)

Please let me know what is the issue
Reply With Quote
Forum Sponsor
  #2  
Old 06-15-2008
Registered User
 

Join Date: May 2008
Location: s'pore
Posts: 894
Is the cron output gets emailed to both email ids at all?
Reply With Quote
  #3  
Old 06-16-2008
Registered User
 

Join Date: Apr 2008
Location: Frankfurt a.M.
Posts: 38
hi,

use crontab -e to updated y crontab ( before export EDITOR=vi or edit the cron file and kill -HUP 'daemon'
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 10:37 PM.


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