alors oui j'ai réglé mon problème, en fait c'est un comportement lié à prestashop, pour le contrer, j'ai rajouté cette ligne au début de mon fichier exécuté par la tache cron :
$_SERVER['REQUEST_METHOD'] = 'POST';
explications: cela permet d’éviter une redirection dans le batch du au frontcontroller:
// If we call a SSL controller without SSL or a non SSL controller with SSL, we redirect with the right protocol
if (Configuration::get('PS_SSL_ENABLED') && $_SERVER['REQUEST_METHOD'] != 'POST' && $this->ssl != Tools::usingSecureMode())
{
header('HTTP/1.1 301 Moved Permanently');
header('Cache-Control: no-cache');
if ($this->ssl)
header('Location: '.Tools::getShopDomainSsl(true).$_SERVER['REQUEST_URI']);
else
header('Location: '.Tools::getShopDomain(true).$_SERVER['REQUEST_URI']);
exit();
}