curl-users
curl with cronjob
Date: Sat, 17 May 2003 08:09:34 +0800
Hi,
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
job?
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"
https://www.someurl.com/acct/balance.asp
What should be the possible cause?
Thanks
Andy
-------------------------------------------------------
This SF.net 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.
http://www.objectstore.net/sourceforge
Received on 2003-05-17