Run single scheduled task from the Moodle interface

Run single scheduled task from the Moodle interface

av Hittesh Ahuja -
Antal svar: 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

Medeltalet av utvärderingarna: -
Som svar till Hittesh Ahuja

Re: Run single scheduled task from the Moodle interface

av Tim Hunt -
Bild av Core developers Bild av Documentation writers Bild av Particularly helpful Moodlers Bild av Peer reviewers Bild av Plugin developers

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

Medeltalet av utvärderingarna:Useful (1)
Som svar till Tim Hunt

Re: Run single scheduled task from the Moodle interface

av Hittesh Ahuja -

Awesome ! Thanks tim. 

Medeltalet av utvärderingarna: -