Tâches automatiques (cron) - Problème tache CRON
... / Problème tache CRON
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

Problème tache CRON

Von
BrunoC1
Erstellungsdatum 2018-04-13 09:19:58 (edited on 2024-09-04 10:53:02) in Tâches automatiques (cron)

J'ai une tache CRON qui fonctionne. Sauf, que je reçois un report de cette tache avec un lien de type :

Report du mail envoyé

au lieu de

Report du mail envoyé

Voici les lignes du script :

else {
//$report_msg = filter_var($report_msg, FILTER_SANITIZE_MAGIC_QUOTES);
JFile::write(JPATH_BASE . '/script/report/mailing_' . date('dmY_His') . '.txt', $report_msg);
$body = 'Envoi automatique du mail du ' . date('d/m/Y H:i:s') .
'
Mail envoyé avec succes
' .
'Report du mail envoyé';
if ($debugMode) {
$destinationEmail = $debugEmail;
} else {
$destinationEmail = $reportEmail;
}
sendReportEmail($config, $destinationEmail, $body);
echo $body . "\n";
echo 'Mail envoyé avec succes' . "\n";
}

Une piste ?

Merci d'avance.