[text]PHP Parse error: syntax error, unexpected '{' in /usr/selector/php-cli on line 3752
Content-type: text/html
<br />
<b>Parse error</b>: syntax error, unexpected '{' in <b>/usr/selector/php-cli</b> on line <b>3752</b><br />[/text]
We are trying to run Cron Jobs, but each time the email the server issues, submits this.
This is the command :
php /usr/local/bin/php -q /home/j562595/public_html/filenamehere.php
cPanel error on Cron Job - does this mean anything to you?
Moderator: General Moderators
-
simonmlewis
- DevNet Master
- Posts: 4435
- Joined: Wed Oct 08, 2008 3:39 pm
- Location: United Kingdom
- Contact:
cPanel error on Cron Job - does this mean anything to you?
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
All the best from the United Kingdom.
Re: cPanel error on Cron Job - does this mean anything to yo
Why are you calling the php command twice?
-
simonmlewis
- DevNet Master
- Posts: 4435
- Joined: Wed Oct 08, 2008 3:39 pm
- Location: United Kingdom
- Contact:
Re: cPanel error on Cron Job - does this mean anything to yo
I'm not. Am i?? that command is what they hosts told me to use.
what should I be using??
what should I be using??
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
All the best from the United Kingdom.
-
simonmlewis
- DevNet Master
- Posts: 4435
- Joined: Wed Oct 08, 2008 3:39 pm
- Location: United Kingdom
- Contact:
Re: cPanel error on Cron Job - does this mean anything to yo
You are absolutely right, and they have since told me my command is wrong, eventho they told me to use it! How daft is that!!
Ta.
Ta.
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
All the best from the United Kingdom.