Adhoc scheduled task?

Re: Adhoc scheduled task?

by Michael Aherne -
Number of replies: 1
Picture of Core developers Picture of Peer reviewers Picture of Plugin developers

I don't think that's possible at the moment. It would be a useful feature, though, so it might be worth raising in the Moodle Tracker.

On the face of it, it looks as if it would be a simple change to the queue_adhoc_task() method, to avoid overwriting a "next run time" value if one is supplied. It's possible it was implemented the way it is deliberately to prevent some other problem, though, so it's maybe not that simple.

In reply to Michael Aherne

Re: Adhoc scheduled task?

by Daniel Neis Araujo -
Picture of Core developers Picture of Plugin developers Picture of Translators

Hello, Michael


thanks for pointing out the method that needs changes.

I've created MDL-52385 (that has a link to the patch on github) to address this.

Let's say what other people think about it =)


Kind regards,

Daniel