Home Man
Today's Posts

The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

Unable to update the Crontab


Login to Reply

Thread Tools Search this Thread
# 1  
Old 02-21-2007
Unable to update the Crontab

Hi Everyone,

Each time I do update the crontab, it gets reset after exiting from the telnet session. I'm using Solaris 2.8

So it goes like this:
Step 1: Login as root, from a telnet session
Step 2: Crontab -e (I make modification)
Step 3: Save and exit
Step 4: Type crontab -l , changes are taken into account
Step 5: Exit from the telnet session
Step 6: Open a new telnet session, and type crontab -l
Step 7: All the previous modification, are not taken into account.

Any help, or tips would be appreciated

# 2  
Old 02-21-2007
If you check /var/spool/cron/crontabs, is root's crontabs file date/time changed after you make the change the first time? When you log back in the second time, what's the date/time of root's crontabs file?

Off hand I'd be looking for something that manages root's cron replacing it with a backup copy or mirror from another server.

# 3  
Old 02-21-2007
Thanks for the feedback.
The date of the file do correspond to the time, I make a change, and then the file changes, when I exit and re-loggin to the system.
# 4  
Old 02-21-2007
Does the crontab time stamp change again to the time of the 2nd login? Is there something in roots .login or .profile that rewrites the crontab from another location?
# 5  
Old 02-22-2007
Excellent remark Onex , indeed it was the .profile that rewrites the Crontab.

Removed the line on the .profile, and everything is working fine.

Once again, thanks guys for your help
Login to Reply

« Previous Thread | Next Thread »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Crontab update ron5174 Shell Programming and Scripting 15 04-29-2018 05:03 PM
Unable to update package. Junaid Subhani Linux 0 08-02-2017 11:04 AM
Unable to perform yum update Ankur Goyal Red Hat 9 07-21-2015 06:24 PM
Unable to invoke mercurial client from crontab balajesuri UNIX for Dummies Questions & Answers 2 11-15-2013 12:47 AM
Unable to update Fedora after upgrading from Fedora17 to Fedora18 vaibhavvsk Linux 1 01-23-2013 11:30 AM
UNABLE TO UPDATE! HELP! Brandyn UNIX for Dummies Questions & Answers 2 04-19-2012 11:44 PM
Unable to open Crontab Mani_apr08 Solaris 1 08-30-2011 05:05 AM
Unable to Update Date AaronLS2 Fedora 4 08-04-2011 10:31 PM
Pro*C Update not working from Crontab alhallay UNIX for Advanced & Expert Users 2 09-16-2007 12:25 AM

All times are GMT -4. The time now is 07:44 AM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
Show Password