diff --git a/scripts/cron.php b/scripts/cron.php index b677989f..4d2cddde 100644 --- a/scripts/cron.php +++ b/scripts/cron.php @@ -69,7 +69,7 @@ if ( count($result)>0 ) { if (count($result)>0) { $info = $result->current(); echo "Lancement enrichissement $info->id\n"; - exec(realpath(dirname(__FILE__))."/jobs/enrichissement.php --id ".$info->id." &"); + exec('php '.realpath(dirname(__FILE__))."/jobs/enrichissement.php --id ".$info->id." &"); } } \ No newline at end of file