Tâches CRON ne s'exécutent pas sur le serveur d'OVH

Nouveau WRInaute
Bonjour,

Nous avons développé un site et nous avons créé des tâches CRON sur OVH.

Le problème est que manuellement, c'est-à-dire en mettant l'adresse monsite/test_cron.php, ça fonctionne ,le mail s'envoie correctement.

Mais automatiquement, ça ne s'envoie pas...

Voici le log d'erreur :

[2016-12-30 19:52:03] ## OVH ## START - 2016-12-30 19:52:03.669028 executing: /usr/local/php7.0/bin/php /homez.2193/likemywora/./www/lmw_dev/ristourne2.php
[2016-12-30 19:52:03] <html>
[2016-12-30 19:52:03] <head>
[2016-12-30 19:52:03] <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
[2016-12-30 19:52:03] <title>Test de Cron</title>
[2016-12-30 19:52:03] </head>
[2016-12-30 19:52:03] <body>
[2016-12-30 19:52:03]
[2016-12-30 19:52:03]
[2016-12-30 19:52:03]
<gras>[2016-12-30 19:52:03] ## OVH ## END - 2016-12-30 18:52:03.762721 exitcode: 255</gras>
[2016-12-30 19:52:03]
[2016-12-30 19:52:03] ## OVH ## Your job could not be initiated for an unknown reason. Please contact customer support for more information.

Comme vous pouvez le voir, nous avons un exitcode 255.

J'ai contacté OVH qui nous a donné cette réponse :

Au niveau des logs CRON de votre hébergement, l'exitcode a pour valeur 255 à
18h12 hier soir.

Cela signifie que l'url d'appel du CRON n'est pas renseignée avec le chemin
absolue et ne parviens par conséquent pas à s'exécuter correctement.

Nous avons pourtant donné un full control 777 au fichier et le nom du path est correct (normalement).

Merci d'avance pour votre aide et bon réveillon pour ce soir.

<config>Mac OS X (10.12) / Firefox 50.0</config>
 
WRInaute passionné
beegees a dit:
nous avons créé des tâches CRON sur OVH [...] manuellement, c'est-à-dire en mettant l'adresse monsite/test_cron.php, ça fonctionne ,le mail s'envoie correctement [...] Mais automatiquement, ça ne s'envoie pas...
Utilisez-vous phpmailer ?
 
Nouveau WRInaute
M&B Multimédia a dit:
beegees a dit:
nous avons créé des tâches CRON sur OVH [...] manuellement, c'est-à-dire en mettant l'adresse monsite/test_cron.php, ça fonctionne ,le mail s'envoie correctement [...] Mais automatiquement, ça ne s'envoie pas...
Utilisez-vous phpmailer ?

Bonjour,

Merci pour votre réponse rapide.

Alors, pour la plupart des scripts php, oui.

Par contre, j'en ai créé un plus simple (dont voici le code) et qui ne fonctionne pas non plus :
Code:
<?php
// the message
$msg = "Le CRON fonctionne";

// send email
mail("monmail@gmail.com","COOOOOOOLLLLL",$msg);
?>

Nous désespérons...

Merci pour l'aide et bon réveillon pour ce soir.
 
Nouveau WRInaute
Voici le log :

[2016-12-30 19:50:02] ## OVH ## START - 2016-12-30 19:50:02.702116 executing: /usr/local/php7.0/bin/php /homez.2193/likemywora/./test_cron.php
[2016-12-30 19:50:02] Could not open input file: /homez.2193/likemywora/./test_cron.php
[2016-12-30 19:50:02]
[2016-12-30 19:50:02] ## OVH ## END - 2016-12-30 18:50:02.817338 exitcode: 1
[2016-12-30 19:50:02]
[2016-12-30 19:50:02] ## OVH ## Your job could not be initiated for an unknown reason. Please contact customer support for more information.
[2016-12-30 19:50:02] ## OVH ## END - 2016-12-30 18:50:02.818071 exitcode: 255

Je n'avais pas vu cet exitcode 1, bien vu.

Je vis me renseigner.

Merci d'avance pour l'aide.
 
Nouveau WRInaute
Pourtant le fichier se trouve bien dans le dossier :

cron.png


C'est le dernier fichier dans l'arborescence
 
Nouveau WRInaute
M&B Multimédia a dit:
Vous avez oublié "www"...

Pour ce script (sans PHPMAILER) j'avais essayé sans www, en me disant qu'il ne fallait peut-être pas le mettre.

Par contre, pour les autres, on avait bien mis www

Penses-vous (on peut se tutoyer ?) qu'avec PHPMAILER et le CRON d'ovh il y a des soucis ?

Encore merci pour votre aide précieuse et très appréciée.
 
WRInaute passionné
Faites un essai avec "test_cron.php" sans oublier de spécifier "www" dans le chemin du fichier au niveau de l'enregistrement de votre CRONJOB histoire de voir :

- si ça fonctionne tout simplement
- quel est l'exitcode renvoyé par OVH dans le cas inverse

En testant à moitié, pas moyen de fournir une réponse complète...
 
Nouveau WRInaute
M&B Multimédia a dit:
Faites un essai avec "test_cron.php" sans oublier de spécifier "www" dans le chemin du fichier au niveau de l'enregistrement de votre CRONJOB histoire de voir :

- si ça fonctionne tout simplement
- quel est l'exitcode renvoyé par OVH dans le cas inverse

En testant à moitié, pas moyen de fournir une réponse complète...

Très bien, j'ai ajouté le www et je vous tiens au courant dans moins d'1 heure, j'ai vu qu'il y avait des log rapides sur OVH.

Pour info, voici une impression d'écran de mes CRON actuels, aucun ne fonctionne :

cron2.png


Et voici le log d'aujourd'hui :

[2016-12-31 05:54:02] ## OVH ## END - 2016-12-31 04:54:02.650981 exitcode: 255
[2016-12-31 05:56:02] ## OVH ## START - 2016-12-31 05:56:02.067875 executing: /usr/local/php7.0/bin/php /homez.2193/likemywora/./www/lmw_dev/paiement3.php
[2016-12-31 05:56:02] <html>
[2016-12-31 05:56:02] <head>
[2016-12-31 05:56:02] <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
[2016-12-31 05:56:02] <title>Test de Cron</title>
[2016-12-31 05:56:02] </head>
[2016-12-31 05:56:02] <body>
[2016-12-31 05:56:02]
[2016-12-31 05:56:02]
[2016-12-31 05:56:02]
[2016-12-31 05:56:02] ## OVH ## END - 2016-12-31 04:56:02.171616 exitcode: 255
[2016-12-31 05:56:02]
[2016-12-31 05:56:02] ## OVH ## Your job could not be initiated for an unknown reason. Please contact customer support for more information.
[2016-12-31 05:56:02] ## OVH ## END - 2016-12-31 04:56:02.172453 exitcode: 255
[2016-12-31 06:10:03] ## OVH ## START - 2016-12-31 06:10:03.245925 executing: /usr/local/php7.0/bin/php /homez.2193/likemywora/./www/lmw_dev/ristourne3.php
[2016-12-31 06:10:03] <html>
[2016-12-31 06:10:03] <head>
[2016-12-31 06:10:03] <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
[2016-12-31 06:10:03] <title>Test de Cron</title>
[2016-12-31 06:10:03] </head>
[2016-12-31 06:10:03] <body>
[2016-12-31 06:10:03]
[2016-12-31 06:10:03]
[2016-12-31 06:10:03]
[2016-12-31 06:10:03] ## OVH ## END - 2016-12-31 05:10:03.354606 exitcode: 255
[2016-12-31 06:10:03]
[2016-12-31 06:10:03] ## OVH ## Your job could not be initiated for an unknown reason. Please contact customer support for more information.
[2016-12-31 06:10:03] ## OVH ## END - 2016-12-31 05:10:03.355418 exitcode: 255
[2016-12-31 06:12:02] ## OVH ## START - 2016-12-31 06:12:02.484815 executing: /usr/local/php7.0/bin/php /homez.2193/likemywora/./www/lmw_dev/ristourne.php
[2016-12-31 06:12:02] <html>
[2016-12-31 06:12:02] <head>
[2016-12-31 06:12:02] <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
[2016-12-31 06:12:02] <title>Test de Cron</title>
[2016-12-31 06:12:02] </head>
[2016-12-31 06:12:02] <body>
[2016-12-31 06:12:02]
[2016-12-31 06:12:02]
[2016-12-31 06:12:02]
[2016-12-31 06:12:02] ## OVH ## END - 2016-12-31 05:12:02.609544 exitcode: 255
[2016-12-31 06:12:02]
[2016-12-31 06:12:02] ## OVH ## Your job could not be initiated for an unknown reason. Please contact customer support for more information.
[2016-12-31 06:12:02] ## OVH ## END - 2016-12-31 05:12:02.610363 exitcode: 255
[2016-12-31 06:50:02] ## OVH ## START - 2016-12-31 06:50:02.487165 executing: /usr/local/php7.0/bin/php /homez.2193/likemywora/./www/lmw_dev/paiement1.php
[2016-12-31 06:50:02] <html>
[2016-12-31 06:50:02] <head>
[2016-12-31 06:50:02] <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
[2016-12-31 06:50:02] <title>Test de Cron</title>
[2016-12-31 06:50:02] </head>
[2016-12-31 06:50:02] <body>
[2016-12-31 06:50:02]
[2016-12-31 06:50:02]
[2016-12-31 06:50:02]
[2016-12-31 06:50:02] ## OVH ## END - 2016-12-31 05:50:02.919111 exitcode: 255
[2016-12-31 06:50:02]
[2016-12-31 06:50:02] ## OVH ## Your job could not be initiated for an unknown reason. Please contact customer support for more information.
[2016-12-31 06:50:02] ## OVH ## END - 2016-12-31 05:50:02.919906 exitcode: 255
[2016-12-31 06:52:03] ## OVH ## START - 2016-12-31 06:52:03.493966 executing: /usr/local/php7.0/bin/php /homez.2193/likemywora/./www/lmw_dev/ristourne2.php
[2016-12-31 06:52:03] <html>
[2016-12-31 06:52:03] <head>
[2016-12-31 06:52:03] <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
[2016-12-31 06:52:03] <title>Test de Cron</title>
[2016-12-31 06:52:03] </head>
[2016-12-31 06:52:03] <body>
[2016-12-31 06:52:03]
[2016-12-31 06:52:03]
[2016-12-31 06:52:03]
[2016-12-31 06:52:03] ## OVH ## END - 2016-12-31 05:52:03.590497 exitcode: 255
[2016-12-31 06:52:03]
[2016-12-31 06:52:03] ## OVH ## Your job could not be initiated for an unknown reason. Please contact customer support for more information.
[2016-12-31 06:52:03] ## OVH ## END - 2016-12-31 05:52:03.591305 exitcode: 255
[2016-12-31 06:54:02] ## OVH ## START - 2016-12-31 06:54:02.486103 executing: /usr/local/php7.0/bin/php /homez.2193/likemywora/./www/lmw_dev/paiement2.php
[2016-12-31 06:54:02] <html>
[2016-12-31 06:54:02] <head>
[2016-12-31 06:54:02] <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
[2016-12-31 06:54:02] <title>Test de Cron</title>
[2016-12-31 06:54:02] </head>
[2016-12-31 06:54:02] <body>
[2016-12-31 06:54:02]
[2016-12-31 06:54:02]
[2016-12-31 06:54:02]
[2016-12-31 06:54:02] ## OVH ## END - 2016-12-31 05:54:02.629540 exitcode: 255
[2016-12-31 06:54:02]
[2016-12-31 06:54:02] ## OVH ## Your job could not be initiated for an unknown reason. Please contact customer support for more information.
[2016-12-31 06:54:02] ## OVH ## END - 2016-12-31 05:54:02.630403 exitcode: 255
[2016-12-31 06:56:02] ## OVH ## START - 2016-12-31 06:56:02.739077 executing: /usr/local/php7.0/bin/php /homez.2193/likemywora/./www/lmw_dev/paiement3.php
[2016-12-31 06:56:02] <html>
[2016-12-31 06:56:02] <head>
[2016-12-31 06:56:02] <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
[2016-12-31 06:56:02] <title>Test de Cron</title>
[2016-12-31 06:56:02] </head>
[2016-12-31 06:56:02] <body>
[2016-12-31 06:56:02]
[2016-12-31 06:56:02]
[2016-12-31 06:56:02]
[2016-12-31 06:56:02] ## OVH ## END - 2016-12-31 05:56:02.844836 exitcode: 255
[2016-12-31 06:56:02]
[2016-12-31 06:56:02] ## OVH ## Your job could not be initiated for an unknown reason. Please contact customer support for more information.
[2016-12-31 06:56:02] ## OVH ## END - 2016-12-31 05:56:02.845659 exitcode: 255
[2016-12-31 07:10:02] ## OVH ## START - 2016-12-31 07:10:02.744570 executing: /usr/local/php7.0/bin/php /homez.2193/likemywora/./www/lmw_dev/ristourne3.php
[2016-12-31 07:10:02] <html>
[2016-12-31 07:10:02] <head>
[2016-12-31 07:10:02] <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
[2016-12-31 07:10:02] <title>Test de Cron</title>
[2016-12-31 07:10:02] </head>
[2016-12-31 07:10:02] <body>
[2016-12-31 07:10:02]
[2016-12-31 07:10:02]
[2016-12-31 07:10:02]
[2016-12-31 07:10:02] ## OVH ## END - 2016-12-31 06:10:02.833376 exitcode: 255
[2016-12-31 07:10:02]
[2016-12-31 07:10:02] ## OVH ## Your job could not be initiated for an unknown reason. Please contact customer support for more information.
[2016-12-31 07:10:02] ## OVH ## END - 2016-12-31 06:10:02.834190 exitcode: 255
[2016-12-31 07:12:02] ## OVH ## START - 2016-12-31 07:12:02.840610 executing: /usr/local/php7.0/bin/php /homez.2193/likemywora/./www/lmw_dev/ristourne.php
[2016-12-31 07:12:02] <html>
[2016-12-31 07:12:02] <head>
[2016-12-31 07:12:02] <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
[2016-12-31 07:12:02] <title>Test de Cron</title>
[2016-12-31 07:12:02] </head>
[2016-12-31 07:12:02] <body>
[2016-12-31 07:12:02]
[2016-12-31 07:12:02]
[2016-12-31 07:12:02]
[2016-12-31 07:12:02] ## OVH ## END - 2016-12-31 06:12:02.930110 exitcode: 255
[2016-12-31 07:12:02]
[2016-12-31 07:12:02] ## OVH ## Your job could not be initiated for an unknown reason. Please contact customer support for more information.
[2016-12-31 07:12:02] ## OVH ## END - 2016-12-31 06:12:02.930928 exitcode: 255
[2016-12-31 07:39:02] ## OVH ## START - 2016-12-31 07:39:02.904538 executing: /usr/local/php7.0/bin/php /homez.2193/likemywora/./lmw_dev/test_cron.php
[2016-12-31 07:39:02] Could not open input file: /homez.2193/likemywora/./lmw_dev/test_cron.php
[2016-12-31 07:39:02]
[2016-12-31 07:39:02] ## OVH ## END - 2016-12-31 06:39:03.006258 exitcode: 1
[2016-12-31 07:39:02]
[2016-12-31 07:39:02] ## OVH ## Your job could not be initiated for an unknown reason. Please contact customer support for more information.
[2016-12-31 07:39:02] ## OVH ## END - 2016-12-31 06:39:03.007076 exitcode: 255
[2016-12-31 07:50:02] ## OVH ## START - 2016-12-31 07:50:02.283533 executing: /usr/local/php7.0/bin/php /homez.2193/likemywora/./www/lmw_dev/paiement1.php
[2016-12-31 07:50:02] <html>
[2016-12-31 07:50:02] <head>
[2016-12-31 07:50:02] <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
[2016-12-31 07:50:02] <title>Test de Cron</title>
[2016-12-31 07:50:02] </head>
[2016-12-31 07:50:02] <body>
[2016-12-31 07:50:02]
[2016-12-31 07:50:02]
[2016-12-31 07:50:02]
[2016-12-31 07:50:02] ## OVH ## END - 2016-12-31 06:50:02.413547 exitcode: 255
[2016-12-31 07:50:02]
[2016-12-31 07:50:02] ## OVH ## Your job could not be initiated for an unknown reason. Please contact customer support for more information.
[2016-12-31 07:50:02] ## OVH ## END - 2016-12-31 06:50:02.414388 exitcode: 255
[2016-12-31 07:52:03] ## OVH ## START - 2016-12-31 07:52:03.205124 executing: /usr/local/php7.0/bin/php /homez.2193/likemywora/./www/lmw_dev/ristourne2.php
[2016-12-31 07:52:03] <html>
[2016-12-31 07:52:03] <head>
[2016-12-31 07:52:03] <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
[2016-12-31 07:52:03] <title>Test de Cron</title>
[2016-12-31 07:52:03] </head>
[2016-12-31 07:52:03] <body>
[2016-12-31 07:52:03]
[2016-12-31 07:52:03]
[2016-12-31 07:52:03]
[2016-12-31 07:52:03] ## OVH ## END - 2016-12-31 06:52:03.336181 exitcode: 255
[2016-12-31 07:52:03]
[2016-12-31 07:52:03] ## OVH ## Your job could not be initiated for an unknown reason. Please contact customer support for more information.
[2016-12-31 07:52:03] ## OVH ## END - 2016-12-31 06:52:03.336974 exitcode: 255
[2016-12-31 07:54:02] ## OVH ## START - 2016-12-31 07:54:02.034923 executing: /usr/local/php7.0/bin/php /homez.2193/likemywora/./www/lmw_dev/paiement2.php
[2016-12-31 07:54:02] <html>
[2016-12-31 07:54:02] <head>
[2016-12-31 07:54:02] <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
[2016-12-31 07:54:02] <title>Test de Cron</title>
[2016-12-31 07:54:02] </head>
[2016-12-31 07:54:02] <body>
[2016-12-31 07:54:02]
[2016-12-31 07:54:02]
[2016-12-31 07:54:02]
[2016-12-31 07:54:02] ## OVH ## END - 2016-12-31 06:54:02.129764 exitcode: 255
[2016-12-31 07:54:02]
[2016-12-31 07:54:02] ## OVH ## Your job could not be initiated for an unknown reason. Please contact customer support for more information.
[2016-12-31 07:54:02] ## OVH ## END - 2016-12-31 06:54:02.130595 exitcode: 255
[2016-12-31 07:56:02] ## OVH ## START - 2016-12-31 07:56:02.492481 executing: /usr/local/php7.0/bin/php /homez.2193/likemywora/./www/lmw_dev/paiement3.php
[2016-12-31 07:56:02] <html>
[2016-12-31 07:56:02] <head>
[2016-12-31 07:56:02] <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
[2016-12-31 07:56:02] <title>Test de Cron</title>
[2016-12-31 07:56:02] </head>
[2016-12-31 07:56:02] <body>
[2016-12-31 07:56:02]
[2016-12-31 07:56:02]
[2016-12-31 07:56:02]
[2016-12-31 07:56:02] ## OVH ## END - 2016-12-31 06:56:02.593504 exitcode: 255
[2016-12-31 07:56:02]
[2016-12-31 07:56:02] ## OVH ## Your job could not be initiated for an unknown reason. Please contact customer support for more information.
[2016-12-31 07:56:02] ## OVH ## END - 2016-12-31 06:56:02.594293 exitcode: 255
[2016-12-31 08:10:02] ## OVH ## START - 2016-12-31 08:10:02.240345 executing: /usr/local/php7.0/bin/php /homez.2193/likemywora/./www/lmw_dev/ristourne3.php
[2016-12-31 08:10:02] <html>
[2016-12-31 08:10:02] <head>
[2016-12-31 08:10:02] <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
[2016-12-31 08:10:02] <title>Test de Cron</title>
[2016-12-31 08:10:02] </head>
[2016-12-31 08:10:02] <body>
[2016-12-31 08:10:02]
[2016-12-31 08:10:02]
[2016-12-31 08:10:02]
[2016-12-31 08:10:02] ## OVH ## END - 2016-12-31 07:10:02.347367 exitcode: 255
[2016-12-31 08:10:02]
[2016-12-31 08:10:02] ## OVH ## Your job could not be initiated for an unknown reason. Please contact customer support for more information.
[2016-12-31 08:10:02] ## OVH ## END - 2016-12-31 07:10:02.348215 exitcode: 255
[2016-12-31 08:12:02] ## OVH ## START - 2016-12-31 08:12:02.501973 executing: /usr/local/php7.0/bin/php /homez.2193/likemywora/./www/lmw_dev/ristourne.php
[2016-12-31 08:12:02] <html>
[2016-12-31 08:12:02] <head>
[2016-12-31 08:12:02] <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
[2016-12-31 08:12:02] <title>Test de Cron</title>
[2016-12-31 08:12:02] </head>
[2016-12-31 08:12:02] <body>
[2016-12-31 08:12:02]
[2016-12-31 08:12:02]
[2016-12-31 08:12:02]
[2016-12-31 08:12:02] ## OVH ## END - 2016-12-31 07:12:02.601639 exitcode: 255
[2016-12-31 08:12:02]
[2016-12-31 08:12:02] ## OVH ## Your job could not be initiated for an unknown reason. Please contact customer support for more information.
[2016-12-31 08:12:02] ## OVH ## END - 2016-12-31 07:12:02.602432 exitcode: 255
[2016-12-31 08:39:02] ## OVH ## START - 2016-12-31 08:39:02.648186 executing: /usr/local/php7.0/bin/php /homez.2193/likemywora/./lmw_dev/test_cron.php
[2016-12-31 08:39:02] Could not open input file: /homez.2193/likemywora/./lmw_dev/test_cron.php
[2016-12-31 08:39:02]
[2016-12-31 08:39:02] ## OVH ## END - 2016-12-31 07:39:02.752765 exitcode: 1
[2016-12-31 08:39:02]
[2016-12-31 08:39:02] ## OVH ## Your job could not be initiated for an unknown reason. Please contact customer support for more information.
[2016-12-31 08:39:02] ## OVH ## END - 2016-12-31 07:39:02.753590 exitcode: 255
[2016-12-31 08:50:02] ## OVH ## START - 2016-12-31 08:50:02.666441 executing: /usr/local/php7.0/bin/php /homez.2193/likemywora/./www/lmw_dev/paiement1.php
[2016-12-31 08:50:02] <html>
[2016-12-31 08:50:02] <head>
[2016-12-31 08:50:02] <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
[2016-12-31 08:50:02] <title>Test de Cron</title>
[2016-12-31 08:50:02] </head>
[2016-12-31 08:50:02] <body>
[2016-12-31 08:50:02]
[2016-12-31 08:50:02]
[2016-12-31 08:50:02]
[2016-12-31 08:50:02] ## OVH ## END - 2016-12-31 07:50:02.784415 exitcode: 255
[2016-12-31 08:50:02]
[2016-12-31 08:50:02] ## OVH ## Your job could not be initiated for an unknown reason. Please contact customer support for more information.
[2016-12-31 08:50:02] ## OVH ## END - 2016-12-31 07:50:02.785246 exitcode: 255
[2016-12-31 08:52:03] ## OVH ## START - 2016-12-31 08:52:03.757359 executing: /usr/local/php7.0/bin/php /homez.2193/likemywora/./www/lmw_dev/ristourne2.php
[2016-12-31 08:52:03] <html>
[2016-12-31 08:52:03] <head>
[2016-12-31 08:52:03] <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
[2016-12-31 08:52:03] <title>Test de Cron</title>
[2016-12-31 08:52:03] </head>
[2016-12-31 08:52:03] <body>
[2016-12-31 08:52:03]
[2016-12-31 08:52:03]
[2016-12-31 08:52:03]
[2016-12-31 08:52:03] ## OVH ## END - 2016-12-31 07:52:03.876580 exitcode: 255
[2016-12-31 08:52:03]
[2016-12-31 08:52:03] ## OVH ## Your job could not be initiated for an unknown reason. Please contact customer support for more information.
[2016-12-31 08:52:03] ## OVH ## END - 2016-12-31 07:52:03.877403 exitcode: 255
[2016-12-31 08:54:02] ## OVH ## START - 2016-12-31 08:54:02.744256 executing: /usr/local/php7.0/bin/php /homez.2193/likemywora/./www/lmw_dev/paiement2.php
[2016-12-31 08:54:02] <html>
[2016-12-31 08:54:02] <head>
[2016-12-31 08:54:02] <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
[2016-12-31 08:54:02] <title>Test de Cron</title>
[2016-12-31 08:54:02] </head>
[2016-12-31 08:54:02] <body>
[2016-12-31 08:54:02]
[2016-12-31 08:54:02]
[2016-12-31 08:54:02]
[2016-12-31 08:54:02] ## OVH ## END - 2016-12-31 07:54:02.906966 exitcode: 255
[2016-12-31 08:54:02]
[2016-12-31 08:54:02] ## OVH ## Your job could not be initiated for an unknown reason. Please contact customer support for more information.
[2016-12-31 08:54:02] ## OVH ## END - 2016-12-31 07:54:02.907788 exitcode: 255
[2016-12-31 08:56:02] ## OVH ## START - 2016-12-31 08:56:02.906133 executing: /usr/local/php7.0/bin/php /homez.2193/likemywora/./www/lmw_dev/paiement3.php
[2016-12-31 08:56:02] <html>
[2016-12-31 08:56:02] <head>
[2016-12-31 08:56:02] <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
[2016-12-31 08:56:02] <title>Test de Cron</title>
[2016-12-31 08:56:02] </head>
[2016-12-31 08:56:02] <body>
[2016-12-31 08:56:02]
[2016-12-31 08:56:02]
[2016-12-31 08:56:02]
[2016-12-31 08:56:02] ## OVH ## END - 2016-12-31 07:56:02.988476 exitcode: 255
[2016-12-31 08:56:02]
[2016-12-31 08:56:02] ## OVH ## Your job could not be initiated for an unknown reason. Please contact customer support for more information.
[2016-12-31 08:56:02] ## OVH ## END - 2016-12-31 07:56:02.989281 exitcode: 255
[2016-12-31 09:10:02] ## OVH ## START - 2016-12-31 09:10:02.412062 executing: /usr/local/php7.0/bin/php /homez.2193/likemywora/./www/lmw_dev/ristourne3.php
[2016-12-31 09:10:02] <html>
[2016-12-31 09:10:02] <head>
[2016-12-31 09:10:02] <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
[2016-12-31 09:10:02] <title>Test de Cron</title>
[2016-12-31 09:10:02] </head>
[2016-12-31 09:10:02] <body>
[2016-12-31 09:10:02]
[2016-12-31 09:10:02]
[2016-12-31 09:10:02]
[2016-12-31 09:10:02] ## OVH ## END - 2016-12-31 08:10:02.532188 exitcode: 255
[2016-12-31 09:10:02]
[2016-12-31 09:10:02] ## OVH ## Your job could not be initiated for an unknown reason. Please contact customer support for more information.
[2016-12-31 09:10:02] ## OVH ## END - 2016-12-31 08:10:02.532992 exitcode: 255
[2016-12-31 09:12:02] ## OVH ## START - 2016-12-31 09:12:02.666470 executing: /usr/local/php7.0/bin/php /homez.2193/likemywora/./www/lmw_dev/ristourne.php
[2016-12-31 09:12:02] <html>
[2016-12-31 09:12:02] <head>
[2016-12-31 09:12:02] <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
[2016-12-31 09:12:02] <title>Test de Cron</title>
[2016-12-31 09:12:02] </head>
[2016-12-31 09:12:02] <body>
[2016-12-31 09:12:02]
[2016-12-31 09:12:02]
[2016-12-31 09:12:02]
[2016-12-31 09:12:02] ## OVH ## END - 2016-12-31 08:12:02.761413 exitcode: 255
[2016-12-31 09:12:02]
[2016-12-31 09:12:02] ## OVH ## Your job could not be initiated for an unknown reason. Please contact customer support for more information.
[2016-12-31 09:12:02] ## OVH ## END - 2016-12-31 08:12:02.762245 exitcode: 255
[2016-12-31 09:39:02] ## OVH ## START - 2016-12-31 09:39:02.743105 executing: /usr/local/php7.0/bin/php /homez.2193/likemywora/./lmw_dev/test_cron.php
[2016-12-31 09:39:02] Could not open input file: /homez.2193/likemywora/./lmw_dev/test_cron.php
[2016-12-31 09:39:02]
[2016-12-31 09:39:02] ## OVH ## END - 2016-12-31 08:39:02.914964 exitcode: 1
[2016-12-31 09:39:02]
[2016-12-31 09:39:02] ## OVH ## Your job could not be initiated for an unknown reason. Please contact customer support for more information.
[2016-12-31 09:39:02] ## OVH ## END - 2016-12-31 08:39:02.915781 exitcode: 255
[2016-12-31 09:50:03] ## OVH ## START - 2016-12-31 09:50:03.036025 executing: /usr/local/php7.0/bin/php /homez.2193/likemywora/./www/lmw_dev/paiement1.php
[2016-12-31 09:50:03] <html>
[2016-12-31 09:50:03] <head>
[2016-12-31 09:50:03] <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
[2016-12-31 09:50:03] <title>Test de Cron</title>
[2016-12-31 09:50:03] </head>
[2016-12-31 09:50:03] <body>
[2016-12-31 09:50:03]
[2016-12-31 09:50:03]
[2016-12-31 09:50:03]
[2016-12-31 09:50:03] ## OVH ## END - 2016-12-31 09:50:03.204362 exitcode: 255
[2016-12-31 09:50:03]
[2016-12-31 09:50:03] ## OVH ## Your job could not be initiated for an unknown reason. Please contact customer support for more information.
[2016-12-31 09:50:03] ## OVH ## END - 2016-12-31 09:50:03.205153 exitcode: 255
[2016-12-31 09:52:03] ## OVH ## START - 2016-12-31 09:52:03.295133 executing: /usr/local/php7.0/bin/php /homez.2193/likemywora/./www/lmw_dev/ristourne2.php
[2016-12-31 09:52:03] <html>
[2016-12-31 09:52:03] <head>
[2016-12-31 09:52:03] <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
[2016-12-31 09:52:03] <title>Test de Cron</title>
[2016-12-31 09:52:03] </head>
[2016-12-31 09:52:03] <body>
[2016-12-31 09:52:03]
[2016-12-31 09:52:03]
[2016-12-31 09:52:03]
[2016-12-31 09:52:03] ## OVH ## END - 2016-12-31 09:52:03.407693 exitcode: 255
[2016-12-31 09:52:03]
[2016-12-31 09:52:03] ## OVH ## Your job could not be initiated for an unknown reason. Please contact customer support for more information.
[2016-12-31 09:52:03] ## OVH ## END - 2016-12-31 09:52:03.408817 exitcode: 255
[2016-12-31 09:54:02] ## OVH ## START - 2016-12-31 09:54:02.125084 executing: /usr/local/php7.0/bin/php /homez.2193/likemywora/./www/lmw_dev/paiement2.php
[2016-12-31 09:54:02] <html>
[2016-12-31 09:54:02] <head>
[2016-12-31 09:54:02] <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
[2016-12-31 09:54:02] <title>Test de Cron</title>
[2016-12-31 09:54:02] </head>
[2016-12-31 09:54:02] <body>
[2016-12-31 09:54:02]
[2016-12-31 09:54:02]
[2016-12-31 09:54:02]
[2016-12-31 09:54:02] ## OVH ## END - 2016-12-31 09:54:02.228466 exitcode: 255
[2016-12-31 09:54:02]
[2016-12-31 09:54:02] ## OVH ## Your job could not be initiated for an unknown reason. Please contact customer support for more information.
[2016-12-31 09:54:02] ## OVH ## END - 2016-12-31 09:54:02.229281 exitcode: 255
[2016-12-31 09:56:02] ## OVH ## START - 2016-12-31 09:56:02.177213 executing: /usr/local/php7.0/bin/php /homez.2193/likemywora/./www/lmw_dev/paiement3.php
[2016-12-31 09:56:02] <html>
[2016-12-31 09:56:02] <head>
[2016-12-31 09:56:02] <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
[2016-12-31 09:56:02] <title>Test de Cron</title>
[2016-12-31 09:56:02] </head>
[2016-12-31 09:56:02] <body>
[2016-12-31 09:56:02]
[2016-12-31 09:56:02]
[2016-12-31 09:56:02]
[2016-12-31 09:56:02] ## OVH ## END - 2016-12-31 09:56:02.269865 exitcode: 255
[2016-12-31 09:56:02]
[2016-12-31 09:56:02] ## OVH ## Your job could not be initiated for an unknown reason. Please contact customer support for more information.
[2016-12-31 09:56:02] ## OVH ## END - 2016-12-31 09:56:02.270702 exitcode: 255
[2016-12-31 10:10:02] ## OVH ## START - 2016-12-31 10:10:02.810622 executing: /usr/local/php7.0/bin/php /homez.2193/likemywora/./www/lmw_dev/ristourne3.php
[2016-12-31 10:10:02] <html>
[2016-12-31 10:10:02] <head>
[2016-12-31 10:10:02] <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
[2016-12-31 10:10:02] <title>Test de Cron</title>
[2016-12-31 10:10:02] </head>
[2016-12-31 10:10:02] <body>
[2016-12-31 10:10:02]
[2016-12-31 10:10:02]
[2016-12-31 10:10:02]
[2016-12-31 10:10:02] ## OVH ## END - 2016-12-31 10:10:03.001411 exitcode: 255
[2016-12-31 10:10:02]
[2016-12-31 10:10:02] ## OVH ## Your job could not be initiated for an unknown reason. Please contact customer support for more information.
[2016-12-31 10:10:02] ## OVH ## END - 2016-12-31 10:10:03.002223 exitcode: 255
[2016-12-31 10:12:02] ## OVH ## START - 2016-12-31 10:12:02.283010 executing: /usr/local/php7.0/bin/php /homez.2193/likemywora/./www/lmw_dev/ristourne.php
[2016-12-31 10:12:02] <html>
[2016-12-31 10:12:02] <head>
[2016-12-31 10:12:02] <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
[2016-12-31 10:12:02] <title>Test de Cron</title>
[2016-12-31 10:12:02] </head>
[2016-12-31 10:12:02] <body>
[2016-12-31 10:12:02]
[2016-12-31 10:12:02]
[2016-12-31 10:12:02]
[2016-12-31 10:12:02] ## OVH ## END - 2016-12-31 10:12:02.379755 exitcode: 255
[2016-12-31 10:12:02]
[2016-12-31 10:12:02] ## OVH ## Your job could not be initiated for an unknown reason. Please contact customer support for more information.
[2016-12-31 10:12:02] ## OVH ## END - 2016-12-31 10:12:02.380686 exitcode: 255
[2016-12-31 10:39:02] ## OVH ## START - 2016-12-31 10:39:02.638017 executing: /usr/local/php7.0/bin/php /homez.2193/likemywora/./lmw_dev/test_cron.php
[2016-12-31 10:39:02] Could not open input file: /homez.2193/likemywora/./lmw_dev/test_cron.php
[2016-12-31 10:39:02]
[2016-12-31 10:39:02] ## OVH ## END - 2016-12-31 10:39:02.727717 exitcode: 1
[2016-12-31 10:39:02]
[2016-12-31 10:39:02] ## OVH ## Your job could not be initiated for an unknown reason. Please contact customer support for more information.
[2016-12-31 10:39:02] ## OVH ## END - 2016-12-31 10:39:02.729027 exitcode: 255
[2016-12-31 10:50:02] ## OVH ## START - 2016-12-31 10:50:02.241912 executing: /usr/local/php7.0/bin/php /homez.2193/likemywora/./www/lmw_dev/paiement1.php
[2016-12-31 10:50:02] <html>
[2016-12-31 10:50:02] <head>
[2016-12-31 10:50:02] <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
[2016-12-31 10:50:02] <title>Test de Cron</title>
[2016-12-31 10:50:02] </head>
[2016-12-31 10:50:02] <body>
[2016-12-31 10:50:02]
[2016-12-31 10:50:02]
[2016-12-31 10:50:02]
[2016-12-31 10:50:02] ## OVH ## END - 2016-12-31 10:50:02.357657 exitcode: 255
[2016-12-31 10:50:02]
[2016-12-31 10:50:02] ## OVH ## Your job could not be initiated for an unknown reason. Please contact customer support for more information.
[2016-12-31 10:50:02] ## OVH ## END - 2016-12-31 10:50:02.358973 exitcode: 255
[2016-12-31 10:52:02] ## OVH ## START - 2016-12-31 10:52:02.871455 executing: /usr/local/php7.0/bin/php /homez.2193/likemywora/./www/lmw_dev/ristourne2.php
[2016-12-31 10:52:02] <html>
[2016-12-31 10:52:02] <head>
[2016-12-31 10:52:02] <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
[2016-12-31 10:52:02] <title>Test de Cron</title>
[2016-12-31 10:52:02] </head>
[2016-12-31 10:52:02] <body>
[2016-12-31 10:52:02]
[2016-12-31 10:52:02]
[2016-12-31 10:52:02]
[2016-12-31 10:52:02] ## OVH ## END - 2016-12-31 10:52:02.972588 exitcode: 255
[2016-12-31 10:52:02]
[2016-12-31 10:52:02] ## OVH ## Your job could not be initiated for an unknown reason. Please contact customer support for more information.
[2016-12-31 10:52:02] ## OVH ## END - 2016-12-31 10:52:02.973431 exitcode: 255
[2016-12-31 10:54:02] ## OVH ## START - 2016-12-31 10:54:02.018138 executing: /usr/local/php7.0/bin/php /homez.2193/likemywora/./www/lmw_dev/paiement2.php
[2016-12-31 10:54:02] <html>
[2016-12-31 10:54:02] <head>
[2016-12-31 10:54:02] <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
[2016-12-31 10:54:02] <title>Test de Cron</title>
[2016-12-31 10:54:02] </head>
[2016-12-31 10:54:02] <body>
[2016-12-31 10:54:02]
[2016-12-31 10:54:02]
[2016-12-31 10:54:02]
[2016-12-31 10:54:02] ## OVH ## END - 2016-12-31 10:54:02.121329 exitcode: 255
[2016-12-31 10:54:02]
[2016-12-31 10:54:02] ## OVH ## Your job could not be initiated for an unknown reason. Please contact customer support for more information.
[2016-12-31 10:54:02] ## OVH ## END - 2016-12-31 10:54:02.122154 exitcode: 255
[2016-12-31 10:56:02] ## OVH ## START - 2016-12-31 10:56:02.235910 executing: /usr/local/php7.0/bin/php /homez.2193/likemywora/./www/lmw_dev/paiement3.php
[2016-12-31 10:56:02] <html>
[2016-12-31 10:56:02] <head>
[2016-12-31 10:56:02] <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
[2016-12-31 10:56:02] <title>Test de Cron</title>
[2016-12-31 10:56:02] </head>
[2016-12-31 10:56:02] <body>
[2016-12-31 10:56:02]
[2016-12-31 10:56:02]
[2016-12-31 10:56:02]
[2016-12-31 10:56:02] ## OVH ## END - 2016-12-31 10:56:02.324718 exitcode: 255
[2016-12-31 10:56:02]
[2016-12-31 10:56:02] ## OVH ## Your job could not be initiated for an unknown reason. Please contact customer support for more information.
[2016-12-31 10:56:02] ## OVH ## END - 2016-12-31 10:56:02.325552 exitcode: 255

Encore merci pour l'aide.
 
Nouveau WRInaute
Voilà, j'ai préféré attendre avant de t'envoyer un nouveau message.

J'ai fait ceci :

1- Désactivé tous les CRON sauf celui sur lequel je fais les tests.
2- ajouté www
3- Attendu l'heure 50 pour voir ce qu'il se passe.

Je reçois bien un mail, mais l'expéditeur n'est pas info@likemywork.be mais likemywora@720plan.ovh.net

Le log me donne ces erreurs :

[2016-12-31 14:50:02] ## OVH ## START - 2016-12-31 14:50:02.756842 executing: /usr/local/php7.0/bin/php /homez.2193/likemywora/./www/test_cron.php
[2016-12-31 14:50:02] sendmail: warning: inet_protocols: disabling IPv6 name/address support: Address family not supported by protocol
[2016-12-31 14:50:02] postdrop: warning: inet_protocols: disabling IPv6 name/address support: Address family not supported by protocol
[2016-12-31 14:50:02]
[2016-12-31 14:50:02] ## OVH ## END - 2016-12-31 13:50:02.843292 exitcode: 0
[2016-12-31 14:50:02]
[2016-12-31 14:50:02] ## OVH ## Your job could not be initiated for an unknown reason. Please contact customer support for more information.
[2016-12-31 14:50:02] ## OVH ## END - 2016-12-31 13:50:02.844177 exitcode: 255

Vous en pensez quoi ?

Encore merci pour l'aide.
 
Nouveau WRInaute
Bonjour et bonne année,

Je vous informe que mon CRON fonctionne avec ce code minimaliste :

Code:
<?php
// the message
$msg = "Le CRON fonctionne !!! un peu du spam pour la bonne cause BONNE ANNEE !!!!";

// send email
mail("monmail@gmail.com","COOOOOOOLLLLL",$msg);
?>

Vu que le CRON fonctionne, je clôs ce sujet et j'en ouvre un autre afin de poser des nouvelles questions.

Je remercie M & B multimédia pour son aide précieuse qui m'a permis de résoudre ce problème.

bee
 
Discussions similaires
Haut