![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | 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 . |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| weird file list problem | jmmora | AIX | 8 | 3 Weeks Ago 08:18 AM |
| Weird Issue with crontab. | Cameron | HP-UX | 3 | 04-21-2008 08:36 PM |
| Weird date difference problem | meeraKh | Shell Programming and Scripting | 22 | 03-12-2008 07:50 PM |
| weird problem with removing files | rein | UNIX for Advanced & Expert Users | 2 | 08-15-2005 04:51 AM |
| Weird Problem??? | danhodges99 | UNIX for Dummies Questions & Answers | 2 | 04-11-2003 08:05 AM |
|
|
LinkBack | Thread Tools | 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 |
| Forum Sponsor | ||
|
|
|
||||
|
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 |
| Thread Tools | |
| Display Modes | |
|
|