How To / General

Cron breaks on Moodle

More
9 years 10 months ago #1 by rcv
Cron breaks on Moodle was created by rcv
Hello to the community, and thanks for the excellent features!

I am encountering a problem when executing the cron via the CLI on Moodle. Seems that the procedure hangs right after the line "Running cron for auth/joomdle...".

After some basic investigation, I can confirm that:
1) The cron executed via the web interface works correctly.
2) If I deactivate the Joomdle auth plugin, the CLI's cron completes successfully.

Any ideas on what could be wrong?

Thanks a lot,
Chris :)

Moodle version: Moodle 2.9.1+ (Build: 20150828)
Joomla version: 3.5.1 Stable
Joomdle version: 1.0.6

Please Log in or Create an account to join the conversation.

More
9 years 10 months ago #2 by Chris
Replied by Chris on topic Cron breaks on Moodle
Hi there,

I am not sure which cron you are referring to. Thus far there should be no need to execute any of the Joomdle plugins from the CLI.

Chris

Please Log in or Create an account to join the conversation.

More
9 years 10 months ago #3 by rcv
Replied by rcv on topic Cron breaks on Moodle
Hello Chris!

I'm talking about Moodle's crons that can be executed: one through the web interface, and one through CLI.

When the CLI cron is executed, it hangs while running the specific cron of auth/joomdle.

As a result, the whole Moodle system is not updated regulargly.

Chris

Please Log in or Create an account to join the conversation.

More
9 years 10 months ago #4 by Antonio Durán
Replied by Antonio Durán on topic Cron breaks on Moodle
I don't know what may be happening. I just tested it on my local installation with Moodle 3.1+, and CLI cron is completed correctly.
Can you try a newer Moodle, to see if that changes anything?

Please Log in or Create an account to join the conversation.