|
Posted by Sebastiaan 'CrashandDie' Lauwers on 07/09/07 00:55
Brian wrote:
> Hi
Hi,
> I'm going to set up a CRON on my server to call my script everyday.
> My script would use CURL to call the scripts on the other server, I
> have read up on CURL and it the CURLOPT_XXX option I am lost on
> as all I want to know id the script of the other server did run. What
> options
> should I be using?
There isn't any option to know if a "script has run" or not. The only
easy way, would be to simply get the script to return (or in this case,
echo) "0" and "1", or whatever symbol would go for you. Then just
compare what you retrieved with cURL, and thus see if the script
executed all right...
HTH,
S.
[Back to original message]
|