[nycphp-talk] cgi from cron

Hans Zaunere hans at
Fri Apr 18 19:54:46 EDT 2003

--- Tim Sailer <sailer at> wrote:
> On Fri, Apr 18, 2003 at 12:42:41PM -0400, max goldberg wrote:
> > are you making sure you it's using the same binary as the one you are
> > using from the command line. and it's in the user's path etc?
> > maybe you are using the cli binary as opposed to the cgi binary?
> I always use explicit paths in cron. I cut-n-paste the command part
> from crontab to the commandline, and it runs. I'm confused.

How about your environment?  For instance, with Oracle, you need the
ORACLE_HOME and ORACLE_BASE environment variables set, and if I recommend
correctly, LDAP needs similar things.

Also, as mentioned, check user permissions if running under different


More information about the talk mailing list