Run single scheduled task from the Moodle interface

Run single scheduled task from the Moodle interface

Hittesh Ahuja-mit -
Antal besvarelser: 3

Hello,

I know the TASK API allows you to run individual scheduled tasks from the command line and that is great but does anyone see a benefit in running a single scheduled task from the Moodle interface. 


This question stems from two situations  : 

1) Moodle administrators do not have access to the web server 

2) <moodle>/admin/cron.php web page timing out ! 


When a site is particularly busy and you need to run that ONE task and cant wait it would be really hand to think about building a plugin that would do that for you from the admin interface. 


The reason I pose this question here is because I am sure during  building the new Task API moodle developers must have thought about this and probably thought ' naahhh!' . just wanted to understand if there was a reason behind this ? 


Thanks

Hittesh

Gennemsnitsbedømmelse: -
I svar til Hittesh Ahuja

Re: Run single scheduled task from the Moodle interface

Tim Hunt-mit -
Core developers-ip assinga Documentation writers-ip assinga Particularly helpful Moodlers-ip assinga Peer reviewers-ip assinga Plugin developers-ip assinga

My colleague sam implemented this a while ago: MDL-55980. It's in Moodle 3.3+

I svar til Tim Hunt

Re: Run single scheduled task from the Moodle interface

Hittesh Ahuja-mit -

Awesome ! Thanks tim.