Cron strangeness...patch needed?

From: James S. Siojo (jsiojo@sabiosolutions.com)
Date: Wed Aug 14 2002 - 17:59:34 EDT


Hi all,

I have been beating my head against the wall the last few days on a
problem I thought had to do with my application but I have now become
convinced that it is a problem with cron. I am running Solaris 8 on a
V880 with the recommended patch pack from around the middle of May 2002.
 The problem I have is that according the the cronlog in /var/cron/log
my cron jobs for the user "express" are executing as programmed but I
don't see the results of the cronjob anywhere. The cronjob being
executed moves a file to temporary directory where my application parses
the file and loads the results into some Oracle tables. This of course
would logically lead me to believe that the problem was in my shell
scripts. The strange part is when I execute the exact same command from
the shell exactly as it appears in the crontab the job fails. I have
checked environment variables and permissions and am sure that everthing
is working as should be. The only thing somewhat complicated about my
script is that is generates a child process. According to the Sun site
bug #4519829.

Cron skips job in the following condition.

1. job is running(i.e has child process)
2. next job is scheduled to be executed at the next minute.
3. AT or new cron job is submitted just before the time(within 1sec).

I found a patch fix at Sun at:

http://sunsolve.sun.com/private-cgi/findPatch.pl?patchId=109007&rev=07

which talks about a very similar problem to the one I am having. I am
thinking about applying the patch however, before taking my mission
critical system offline I wanted to see if anyone had experienced the
same problem and was able to solve it with this patch or if I'm barking
up the wrong tree.

Thanks for any help that can be provided.

I will summarize.

- James
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:47 EDT