Page 2 of 2

Re: Cron error

Posted: Thu Jan 20, 2022 5:26 pm
by Graeme59
On a test site running 3.01 I replaced the cron file with a 3.0 cron file and the error disappeared and the report worked.

Re: Cron error

Posted: Tue Feb 15, 2022 10:21 am
by alberto
Hi Graeme, there is actually a regression on that file in 301, will be fixed in the upcoming release
Thanks!

Re: Cron error

Posted: Wed Nov 01, 2023 8:49 am
by Graeme59
For some reason 2 of the 3 cron jobs I have had running for many years on 2 domains stopped working. In addition the help desk has stopped sending as well.
The Forma versions running on the domains are version 3.01 and 3.2.0 php 7.4 on both.

The 2 that fail are
/usr/bin/php74 -q public_html/cron/cron.report.php
/usr/bin/php74 -q public_html/cron/cron.task.php
(There was no output from the cron task)

The other job that worked on both is
/usr/bin/php74 -q public_html/plugins/Coursealert/Cron/cron.coursealert.php

The only thing that has changed on both is the user password but as there is one job working in each so the password and smtp settings are correct and checked by https://www.gmass.co/smtp-test.

On the site the password was changed in the SMTP settings and in the config.php file.

Does anyone have any ideas?

Re: Cron error

Posted: Wed Nov 01, 2023 10:02 am
by alfa24
So it seems your instance has stopped sending mail, right?
Does the new password have special characters?
If so, try to use a simple one.
If this doesn't help, you should debug phpmailer with some code breakpoint.

Re: Cron error

Posted: Thu Nov 02, 2023 3:54 pm
by Graeme59
Thank you Alfa24,
Right on the money. The password was too long.
Thanksfor your help
Graeme