Scheduled tasks class and cron jobs

Re: Scheduled tasks class and cron jobs

by Ben Laor -
Number of replies: 2
After some more research i found that it does indeed run from the scheduled tasks (i found the class) and that the code it executed looked similar but was actually from a different file than Sync1.
all is well now smile
In reply to Ben Laor

Re: Scheduled tasks class and cron jobs

by sulagna behera -

Hi Ben,

I'm working on moodle 3.3 on windows. I have been trying to get the course completion status. 

The regular_completion_data cron job seems to have some kind of issue. It only runs when done manually. I have tried setting it up to run every minute, it doesnt. Sometimes manually running the cron,  the completion data doesn't updated.


Could you please help me out?


Regards,

Sulagna

In reply to sulagna behera

Re: Scheduled tasks class and cron jobs

by Ben Laor -

Do you have access to your server's management system? If so, you can create a custom cron job to run a file (which you will write) and in that php file, require/include the file that contains the method that is run on "regular_completion_data" and tell it to run every minute.