Tâches automatiques (cron) - Tâche cron trop longue
... / Tâche cron trop longue
BMPCreated with Sketch.BMPZIPCreated with Sketch.ZIPXLSCreated with Sketch.XLSTXTCreated with Sketch.TXTPPTCreated with Sketch.PPTPNGCreated with Sketch.PNGPDFCreated with Sketch.PDFJPGCreated with Sketch.JPGGIFCreated with Sketch.GIFDOCCreated with Sketch.DOC Error Created with Sketch.
Frage

Tâche cron trop longue

Von
ChristopheA48
Erstellungsdatum 2022-06-15 12:15:39 (edited on 2024-09-04 12:16:29) in Tâches automatiques (cron)

Bonjour à toutes et à tous,

Je tente de lancer une tâche cron mais OVH refuse parce que mon lien dépasse les 100 caractères.

J'ai pris une offre perf2014x1 avec hébergement mutualisé et Prestashop déjà installé.

Cette tâche cron va me permettre de remontée les commandes de mon intégrateur sur mon prestashop.

voici la tâche :
/images/stable/usr/local/php7.2/sbin/php-fpm/php /home/siammaz/www/modules//beezup/cron_om.php --callback=synchronizeOrders

Avez-vous une solution?
merci


1 Antwort ( Latest reply on 2022-06-15 14:22:50 Von
fritz2cat officiel (d'avant la migration)
)


/images/stable/usr/local/php7.2/sbin/php-fpm/php


Bonjour, vous ne pouvez pas utiliser le php qui est dans le $PATH ?

modules//beezup


ici vous pouvez encore gagner un caractère

Sinon vous faites un shell script qui contient la ligne trop longue, et vous appelez votre script avec cron.