Mautic Community Forums

there is a bug executing my crons jobs

can someone help me ?

this is the script

<?php
$path = dirname(DIR);
passthru(“php $path/app/console mautic:integration:fetchleads”);

this is the log

[2018-08-30 16:20:02] ## OVH ## END - 2018-08-30 14:20:02.107729 exitcode: 0
[2018-08-30 16:24:02] ## OVH ## START - 2018-08-30 16:24:02.840330 executing: /usr/local/php5.6/bin/php /…/www/mautic/crons/mautic_synchro.php
[2018-08-30 16:24:02] X-Powered-By: PHP/4.4.9
[2018-08-30 16:24:02] Content-type: text/html
[2018-08-30 16:24:02]
[2018-08-30 16:24:02]

[2018-08-30 16:24:02] Parse error: syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRING or ‘(’ in /home/esully/www/mautic/app/console on line <b>22</b><br />

i dont know what to do