Cron error

Backend functionalities: user management, course management, reports, certificates, etc.
Graeme59
FormaLms User
Posts: 117
Joined: Thu May 05, 2016 6:53 am
Version: forma.lms 2.0
Location: UK
Contact:

Re: Cron error

Post 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.
User avatar
alberto
FormaLms Guru
Posts: 1135
Joined: Fri Mar 02, 2012 9:18 am
Contact:

Re: Cron error

Post by alberto »

Hi Graeme, there is actually a regression on that file in 301, will be fixed in the upcoming release
Thanks!
Graeme59
FormaLms User
Posts: 117
Joined: Thu May 05, 2016 6:53 am
Version: forma.lms 2.0
Location: UK
Contact:

Re: Cron error

Post 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?
alfa24
Senior Boarder
Posts: 2009
Joined: Fri Nov 24, 2017 8:45 am

Re: Cron error

Post 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.
Per supporto GRATUITO contattatemi in privato qui
Graeme59
FormaLms User
Posts: 117
Joined: Thu May 05, 2016 6:53 am
Version: forma.lms 2.0
Location: UK
Contact:

Re: Cron error

Post by Graeme59 »

Thank you Alfa24,
Right on the money. The password was too long.
Thanksfor your help
Graeme
Post Reply