How to tell whether cron job is running?

How to tell whether cron job is running?

by David Aldrich -
Number of replies: 2

Hi

I am having trouble with forum email notifications not working. So I want to check that the cron job is running correctly.

If I run:

php /var/www/html/admin/cron.php

from the Linux command line, I can see expected Moodle output in the terminal.

AFAIK our cron is correctly configured to run this php script, but how can I tell that it is actually running? Is there any log I can inspect?

BR

David

Average of ratings: -
In reply to David Aldrich

Re: How to tell whether cron job is running?

by Colin Fraser -
Picture of Documentation writers Picture of Testers

Assuming you are running v1.9.x then go to Adminsitration > Reports > Backups and that should give you the information you need.

In reply to Colin Fraser

Re: How to tell whether cron job is running?

by David Aldrich -

Thanks, a backup ran at midnight last night so I assume Cron is running.