[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-developers] POP3 before smtp
- Subject: Re: [cobalt-developers] POP3 before smtp
- From: Chuck <nagy@xxxxxxxxxxxxxxxx>
- Date: Wed Jun 21 19:49:50 2000
On Wed, 21 Jun 2000, [iso-8859-1] Jens Kristian Søgaard wrote:
> > In any event, being a perl buff, I am curious as to why the shell commands
> > did not execute properly. I tried the same program as a cgi-script, and I
>
> Well, you'll need to check the difference between running in a shell window and running from cron. Does your script depend on any enviroment variables? (for example PATH?)
Sometimes the difference lies in running foreground or background. A
command in perl launched with the `command` method inherits from perl the
console. "top" will only run if the console is a terminal or terminal
window. In this case nothing to do with env vars.