I had a similar problem running my perl script in cron. Finally it turned out to be a problem with profile. At our end there is a profile script that gets executed whenever we open a Shell prompt. When I got that to run before my script it started working fine. Also try giving the explicit path to the perl executable.
Hope this helps. Buzz me in case you need any help. Thanks and Regards Nand Kishore S -----Original Message----- From: Ajey Kulkarni [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 23, 2004 1:29 PM To: Larsen, Errin M HMMA/IT Cc: [EMAIL PROTECTED] Subject: RE: How to monitor a scritp also,often its easy to forget cron.allow and cron.deny files being updated. Make sure u've right access & crontab -e (for user specific) may also help to test ur script locally. May be you should check with the cron/crontab tweakins than Perl list. :) On Tue, 23 Nov 2004, Larsen, Errin M HMMA/IT wrote: > > -----Original Message----- > > From: Mauro [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, November 23, 2004 3:44 AM > > To: [EMAIL PROTECTED] > > Subject: How to monitor a scritp > > > > > > Hi all, > > I made a script that works fine. > > When a try to run it in crontab it seems it doesn't work. > > It makes an empty output log. > > I checked for correct path in external command I run into script > > because I know crontab hasn't got any environment variable but > > pheraps I forgot to check something... How do you suggest me to > > monitor what it is happening? Does Perl need any explicit > > environment variables to run in crontab? > > > > > > Thank you > > > > Can you show us the meat of your script? Also, the crontab line your > using? Maybe we could help you out a little better with that info. > > --Errin > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] For additional > commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> > <http://learn.perl.org/first-response> > > > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response> -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>