Re: Perl/Cron Conflict
- From: Paul <none@none>
- Date: Tue, 10 May 2005 14:11:14 +1000
Kris wrote:
I apologize beforehand for lack of information/details. I have a cron with an entry that looks like this:
2,17,32,47 * * * * /sds/force/custom/cronrep /sds/force/custom/Vine.pl 1>/dev/null 2>>&1
I'm running this on AIX 5.3. This worked fine before an upgrade from 4.3. The cronrep is a wrapper that sets the environment and the Vine.pl file runs off that. This creates a file in a directory called Vineout. If I run the command manually, ie: /sds/force/custom/cronrep /sds/force/custom/Vine.pl, it creates the file just fine. However when cron runs it, I get the following error:
No -I allowed while running setgid.
I believe the -I option is something with Perl. We're running perl5 5.8.0. Are there permissions that I need to change on a file? Anywhere to start looking? If any additional information is needed, I'll give you what I can. Thanks.
Kris
I have had some problems running perl and expect scripts from cron.
I took the easy way out ( hold on while I don my fireproof suit ) and create a one-line shell script which runs the perl or expect - this seems have stopped my problem.
.
- References:
- Perl/Cron Conflict
- From: Kris
- Perl/Cron Conflict
- Prev by Date: FAQ 7.8 How do I declare/create a structure?
- Next by Date: Can't use stringas a HASH ref
- Previous by thread: Re: Perl/Cron Conflict
- Next by thread: Re: Perl/Cron Conflict
- Index(es):
Relevant Pages
|
|