Cron error
-
- FormaLms User
- Posts: 124
- Joined: Thu May 05, 2016 6:53 am
- Version: forma.lms 2.0
- Location: UK
- Contact:
Re: Cron error
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
Hi Graeme, there is actually a regression on that file in 301, will be fixed in the upcoming release
Thanks!
Thanks!
-
- FormaLms User
- Posts: 124
- Joined: Thu May 05, 2016 6:53 am
- Version: forma.lms 2.0
- Location: UK
- Contact:
Re: Cron error
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?
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
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.
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
-
- FormaLms User
- Posts: 124
- Joined: Thu May 05, 2016 6:53 am
- Version: forma.lms 2.0
- Location: UK
- Contact:
Re: Cron error
Thank you Alfa24,
Right on the money. The password was too long.
Thanksfor your help
Graeme
Right on the money. The password was too long.
Thanksfor your help
Graeme