On 15 Aug 2005 20

54 GMT, Kim André Akerĝ
<kimandre@NOSPAMbetadome.com> wrote:
>zeebop wrote:
>
>> Hi,
>>
>> I can manually run a file on my webserver and it completes its action
>> fine.
>>
>> I am trying to run this with a cron job via the GUI interface for cron
>> on cpanel.
>>
>> This is the error I'm getting:
>>
>> /home/condomch/public_html/catalog/admin/froogle.php: ?php: No such
>> file or directory
>> /home/condomch/public_html/catalog/admin/froogle.php: //: is a
>> directory
>> /home/condomch/public_html/catalog/admin/froogle.php: //: is a
>> directory
>> /home/condomch/public_html/catalog/admin/froogle.php: line 4: syntax
>> error near unexpected token `explode('
>> /home/condomch/public_html/catalog/admin/froogle.php: line 4: `$stimer
>> = explode( ' ', microtime() );'
>>
>> Any ideas where I'm going wrong?
>
>What does the very first line of your froogle.php file look like?
First few lines are as follows:
<?php
// Start TIMER
// -----------
$stimer = explode( ' ', microtime() );
$stimer = $stimer[1] + $stimer[0];
// -----------