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 Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

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-06-2008 03:46 AM
delete semi-duplicate lines from file? paqman Shell Programming and Scripting 2 02-11-2008 05:46 PM
Delete Duplicate records from a tilde delimited file irshadm Shell Programming and Scripting 5 12-06-2007 05:36 AM
Cronjobs mcastill66 AIX 1 05-31-2005 03:15 PM
cronjobs tamer UNIX for Dummies Questions & Answers 3 01-22-2001 02:48 PM

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 07-20-2007
nskworld nskworld is offline
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
  #2 (permalink)  
Old 07-20-2007
Shell_Life's Avatar
Shell_Life Shell_Life is offline
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.
  #3 (permalink)  
Old 07-20-2007
nskworld nskworld is offline
Registered User
  
 

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


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