Re: Freebsd + cron job +perl script

2007-11-30 Thread patmarbidon
Patrick MARION a écrit : Can you tell more about your script. The first thing about difference between command line dand cron is about environment or perhaps STDIN. Perhaps you can make a trace with several "print tracexxx" at several critical places in your script. Without redirection to

Re: Freebsd + cron job +perl script

2007-11-29 Thread Tom Phoenix
On 11/29/07, FRANCIS PROVENCHER > I'v add a perl script in my crontab (To execute with root rigth) Root rights? Well, if you must. > If i execute the perl script in command line, all work fine. If the problem only shows up under cron, the environment is different under cron. The current working

Freebsd + cron job +perl script

2007-11-29 Thread FRANCIS PROVENCHER
Hi all, I'v add a perl script in my crontab (To execute with root rigth) If i execute the perl script in command line, all work fine. Here the log from /var/log/cron Nov 29 14:55:00 (NameOfTheServer) /usr/sbin/cron[16782]: (root) CMD (/root/Scripts/update.pl) Cron execute the job