Crontab latest entry disappearing. plz help


 
Thread Tools Search this Thread
Operating Systems Solaris Crontab latest entry disappearing. plz help
# 1  
Old 08-02-2011
Crontab latest entry disappearing. plz help

The latest crontab entry is disappearing time and again on acceptance and production environment.
the same entry gets deleted.
any pointers to what might be causing this issue?
# 2  
Old 08-02-2011
I think you should give more details. does it delete any new entry? is it root cron or ordinary user? perhaps filesystem is full or something.
# 3  
Old 08-02-2011
I recall a Solaris audit bug that messed up cron updates. Are you up on patches?

Did someone make the crontab file not writable?
# 4  
Old 08-03-2011
it deletes the latest entry and that one particular entry only. the entry gets deleted after sometime and not immediately. the file system is not full. it is a non root users cron. the cron file is writable.
# 5  
Old 08-03-2011
If you put a comment line or a who-cares line in there, does it protect the last entry, or is this more a file restore?

This line logs every minute it has not been removed:

Code:
* * * * * date >/tmp/$LOGNAME.cron

# 6  
Old 08-04-2011
i put a comment line .. and the last entry didn't disappear.. it's been almost two days now.
# 7  
Old 08-04-2011
Search for updates? Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Monitor and capture the latest entry from the log file

Hi, I want to monitor a log file using tail -f command and search for a specific string on the most recent entry from the file. If the search string matches with the most recent or last line from the file, I want send an email to the people with the message. tail -f service.log|tail -n 1 ... (5 Replies)
Discussion started by: svajhala
5 Replies

2. Shell Programming and Scripting

Selecting latest entry in the log file

Hi there I am trying to write a script where I will need to look for a specific word in the log file and I am aware this can be done by grep for example. As there will be multiple entries for this I want to grep the last one to enter the log... how would I go about this - would I have to use... (5 Replies)
Discussion started by: simpsa27
5 Replies

3. Solaris

Crontab latest entry disappearing

The latest crontab entry is disappearing time and again on acceptance and production environment. the same entry gets deleted. any pointers to what might be causing this issue? (1 Reply)
Discussion started by: bluenavi
1 Replies

4. Shell Programming and Scripting

Crontab help plz

Hi, i want to schedule a cron jobs. its should execute daily at 00:00 ,but in saturday the cron should execute at 23:00 . plz help. i want to schedule it in a single step. (2 Replies)
Discussion started by: chakkaravarthy
2 Replies

5. UNIX for Dummies Questions & Answers

Crontab entry

What should be the crontab entry for a script: to run at 3:00 AM EST Sun, Mon, Tue, Wed, Thu, Fri (3 Replies)
Discussion started by: proactiveaditya
3 Replies

6. Solaris

crontab entry

Hi, i need to setup a cronjob that has will execute iostat command from morning to evening time. for instance the timing has will be like this. 8:00 A.M -- 6:00P.M how to define this entry in crontab Regards (3 Replies)
Discussion started by: jaweedak
3 Replies

7. Shell Programming and Scripting

Crontab Entry

Hi Everyone , have a nice day given below is the line i have added in crontab * * * * * /Rauf/script2.sh intended to run this script after every minute , when i run this script manually it runs fine and produces output , but after adding it to crontab ( like given above ) , it doesnt work ... (5 Replies)
Discussion started by: Dastard
5 Replies

8. UNIX for Advanced & Expert Users

crontab entry

Sometimes cron really upsets me and I cant figure out these types of wierd dates, but how do I get cron to run something on every other sunday? I am running Solaris 8. -S (4 Replies)
Discussion started by: Sowser
4 Replies

9. UNIX for Dummies Questions & Answers

crontab entry

hi all how to schedule a cron job running on last day of every third month at 12 midnight will the following work 0 0 30,31 3,6,9,12 * <required file> thanks (3 Replies)
Discussion started by: matrixmadhan
3 Replies
Login or Register to Ask a Question