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 directory, environment variables, and
other things may be different. Your program, it seems, makes some
mistaken assumption about the environment. Maybe it stops to ask the
user for input, for example; but that won't work under cron.

Somebody will have to look at the source to see what environmental
assumption it contains. Did you think we could debug your program
without even seeing it?

Cheers!

--Tom Phoenix
Stonehenge Perl Training

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to