Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cron Synchronization Script #69

Open
ohdavey opened this issue Dec 8, 2015 · 2 comments
Open

Cron Synchronization Script #69

ohdavey opened this issue Dec 8, 2015 · 2 comments

Comments

@ohdavey
Copy link

ohdavey commented Dec 8, 2015

auth.php line 282

Prevents cron from running and updating moodle plugins at line 282. The die() function kills the cron job. The only way to get pass this is by commenting out the die() function in line 283.

@goose2000
Copy link

Thanks, so even if the work auth.php tries, has problems, the rest of the cron job que will get processed; keeps going.

@ocitguy
Copy link
Contributor

ocitguy commented Dec 9, 2015

A cleaner way to keep the moodle cron job running is to comment out (or delete) line 283 and replace it with:

print("There are no changes to the user list.\n");
return;

That will exit the cron synchronization script, but allow the moodle cron script to continue. Also, it confirms that the script is being run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants