cURL / Mailing Lists / curl-users / Single Mail


curl with cronjob

From: Andy <>
Date: Sat, 17 May 2003 08:09:34 +0800


What is the difference between the way a program runs in a browser or telnet
window and as a cron job?

Is it run as a different user? are rights changed when it runs as a cron

We have a user who setup the cron job to retrieve his account information
from another website using curl in cgi script.The script works fine if it
runs in web browser or in telnet program but does not when it is run as
cron.It returns blank data.

curl -s -d "PassPhrase=$pp&AccountID=$account"

What should be the possible cause?



This email is sponsored by: If flattening out C++ or Java
code to make your application fit in a relational database is painful,
don't do it! Check out ObjectStore. Now part of Progress Software.
Received on 2003-05-17