Problems with perl and cron jobs

2002-09-07 Thread David Gerler
Hi all, I have a script that runs an SQL query and sends an email using sendmail. It works fine if called using a browser. The email is sent with the correct content in the message. If I run it using cron, I get the message but the content is not sent. Meaning the body of the messa

Re: Problems with perl and cron jobs

2002-09-08 Thread Thanatos
David Gerler wrote: > Hi all, > I have a script that runs an SQL query and sends an email using sendmail. > It works fine if called using a browser. The email is sent with the correct > content in the message. > If I run it using cron, I get the message but the content is not sent. > M

RE: Problems with perl and cron jobs

2002-09-08 Thread David Gerler
> David Gerler wrote: > > Hi all, > > I have a script that runs an SQL query and sends an email > using sendmail. > > It works fine if called using a browser. The email is sent with > the correct > > content in the message. > > If I run it using cron, I get the message but the content > i

Re: Problems with perl and cron jobs

2002-09-08 Thread Ebaad Ahmed
variables in the httpd.conf and the script itself. Regards, Ebaad. - Original Message - From: "David Gerler" <[EMAIL PROTECTED]> To: "Thanatos" <[EMAIL PROTECTED]> Cc: "Beginners" <[EMAIL PROTECTED]> Sent: Sunday, September 08, 2002 12:02

Re: Problems with perl and cron jobs

2002-09-08 Thread Thanatos
David Gerler wrote: >>David Gerler wrote: >> >>>Hi all, >>> I have a script that runs an SQL query and sends an email >> >>using sendmail. >> >>>It works fine if called using a browser. The email is sent with >> >>the correct >> >>>content in the message. >>> If I run it using cron, I get

Re: Problems with perl and cron jobs

2002-09-08 Thread Tanton Gibbs
> Also, is $biddernum defined and does it contain a value? I would look really closely at this statement as I think this is probably the problem (based on your error message and description). More than likely you are setting it with some user input field on the web page (like a cookie even?) an

RE: Problems with perl and cron jobs

2002-09-08 Thread David Gerler
> > > > Also, is $biddernum defined and does it contain a value? > > I would look really closely at this statement as I think this is probably > the problem (based on your error message and description). More > than likely > you are setting it with some user input field on the web page > (like a