Quantcast
Channel: Installation and Setup Help Discussions on osTicket Forums
Viewing all articles
Browse latest Browse all 170

Error when executing cron job

$
0
0
Hi,

in order to import email messages to osTicket v1.9.15 even when no agent is logged in, I setup a cron job according to your instructions. For my hosting provider and how I placed the osTicket files on the server I had to place the following command in my hosting provider's crontab file:
*/5 * * * * /usr/bin/php5 /kunden/homepages/38/d32651925/htdocs/osticket-v1.9/api/cron.php

But when this command executes I get the following error message:
X-Powered-By: PHP/5.2.17
Content-type: text/html

<br />
<b>Parse error</b>:  syntax error, unexpected ':' in <b>/homepages/38/d32651925/htdocs/osticket-v1.9/bootstrap.php</b> on line <b>330</b><br />

Interesting for me is that it seems that the bootstrap.php is executed and not the api/cron.php. And looking into line 330 of bootstrap.php there is a colon included indeed. But removing that does not remove an error, then just another will come up.

Thus what steps should I do next for error resolution?

Best regards, Harold



Viewing all articles
Browse latest Browse all 170

Trending Articles