![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| 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 |
| weird file list problem | jmmora | AIX | 8 | 08-08-2008 12:18 PM |
| Weird Issue with crontab. | Cameron | HP-UX | 3 | 04-22-2008 12:36 AM |
| Weird date difference problem | meeraKh | Shell Programming and Scripting | 22 | 03-12-2008 11:50 PM |
| weird problem with removing files | rein | UNIX for Advanced & Expert Users | 2 | 08-15-2005 08:51 AM |
| Weird Problem??? | danhodges99 | UNIX for Dummies Questions & Answers | 2 | 04-11-2003 12:05 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Weird crontab problem
Greetings To All!
I am running Solaris 10 in a sparc environment. Here is the deal: In /var/spool/cron/crontabs, there is a cron user named "sys". If I do a crontab -l sys, it returns: # 0 * * * 0-6 /usr/lib/sa/sa1 # 20,40 8-17 * * 1-5 /usr/lib/sa/sa1 # 5 18 * * 1-5 /usr/lib/sa/sa2 -s 8:00 -e 18:01 -i 1200 -A I have tried to modify the above job by changing the first line...and uncommenting all 3 lines, so that it will read the following at run time: 0,5,10,15,20,25,30,35,40,45,50,55 * * * 0-6 /usr/lib/sa/sa1 20,40 8-17 * * 1-5 /usr/lib/sa/sa1 5 18 * * 1-5 /usr/lib/sa/sa2 -s 8:00 -e 18:01 -i 1200 -A I am making the above mentioned modification as user "sys", who owns this particular cron job. The problem is this: For some weird, unexplainable reason, the modified cron job: 0,5,10,15,20,25,30,35,40,45,50,55 * * * 0-6 /usr/lib/sa/sa1 20,40 8-17 * * 1-5 /usr/lib/sa/sa1 5 18 * * 1-5 /usr/lib/sa/sa2 -s 8:00 -e 18:01 -i 1200 -A will always revert back to its original default to read: # 0 * * * 0-6 /usr/lib/sa/sa1 # 20,40 8-17 * * 1-5 /usr/lib/sa/sa1 # 5 18 * * 1-5 /usr/lib/sa/sa2 -s 8:00 -e 18:01 -i 1200 -A Anyone have any ideas what could be causing this? This one has me scratching my head... Your replies are greatly appreciated! Sincerely RobSand |
|
|||||
|
When does it revert? Looking at the Solaris 10 source code, I notice this: Cross Reference: /onnv/onnv-gate/usr/src/cmd/sa/svc-sar
|
|
||||
|
Quote:
Rob |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|