The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Setting cronjobs... krworks Shell Programming and Scripting 4 06-05-2008 11:46 PM
delete semi-duplicate lines from file? paqman Shell Programming and Scripting 2 02-11-2008 02:46 PM
Delete Duplicate records from a tilde delimited file irshadm Shell Programming and Scripting 5 12-06-2007 02:36 AM
Cronjobs mcastill66 AIX 1 05-31-2005 11:15 AM
cronjobs tamer UNIX for Dummies Questions & Answers 3 01-22-2001 11:48 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 07-20-2007
Registered User
 

Join Date: Jun 2007
Posts: 9
Delete Duplicate Cronjobs

I set up same cronjobs in two different users to generate messages at 5:30 AM
Not Its generating duplicate messages.
I want to delete the cron entries set up in the first user, but I am unable to view the entries in that user.
I tried to find the process Id, but its not showing any id

Could anyone help me with a solution?

Thanks in advance
Reply With Quote
Forum Sponsor
  #2  
Old 07-20-2007
Shell_Life's Avatar
Registered User
 

Join Date: Mar 2007
Location: Bahia, Brazil
Posts: 695
Nskworld,
If you are unable to view/delete the cron entry, here are a few options:
1) Rename the shell script that sends the message, so that when the other
user tries to run it, an error message will appear and no message will display.

2) Change the user's path not to access the shell script.

3) Rename the existing shell script and empty it, keeping the executing
permissions -- the other user will continue to run it and nothing will happen.
Reply With Quote
  #3  
Old 07-20-2007
Registered User
 

Join Date: Jun 2007
Posts: 9
Thanks.. I ll check this on monday and get back to you
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 09:57 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