Run single scheduled task from the Moodle interface

Run single scheduled task from the Moodle interface

על ידי Hittesh Ahuja בתאריך
מספר תגובות: 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

ממוצע דרוגים: -
בתגובה ל: Hittesh Ahuja

Re: Run single scheduled task from the Moodle interface

על ידי Tim Hunt בתאריך
תמונה של Core developers תמונה של Documentation writers תמונה של Particularly helpful Moodlers תמונה של Peer reviewers תמונה של Plugin developers

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

בתגובה ל: Tim Hunt

Re: Run single scheduled task from the Moodle interface

על ידי Hittesh Ahuja בתאריך

Awesome ! Thanks tim.