Re: Freebsd + cron job +perl script
- From: tom@xxxxxxxxxxxxxx (Tom Phoenix)
- Date: Thu, 29 Nov 2007 16:00:19 -0800
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
.
- Prev by Date: Re: Usage: DCE::RPC::new (new DCE::RPC, $auth) at
- Next by Date: Question abount counting the total number of lines and put to an variable?
- Previous by thread: "premature end of header" script error
- Next by thread: Re: Freebsd + cron job +perl script
- Index(es):
Relevant Pages
|