Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Job System, AKA Poor Man's Cron #20839

Closed
mbabker opened this issue Jun 22, 2018 · 2 comments
Closed

[Feature] Job System, AKA Poor Man's Cron #20839

mbabker opened this issue Jun 22, 2018 · 2 comments

Comments

@mbabker
Copy link
Contributor

mbabker commented Jun 22, 2018

We're starting to make heavy use of the onAfterRespond event to take care of some actions that we would prefer to delegate to a CLI/cron infrastructure, but 3.x doesn't have the greatest CLI framework and we don't want to force users to set up cron jobs so this results in adding new plugins with some kind of post-request logic (the session cleanup stuff in that plugin, update notification plugin for core updates, and the privacy system is introducing several post-request tasks).

It would be really good if we could have a basic job system that could be run either as a system plugin at onAfterRespond or hooked up to a cron job on CLI to be able to schedule and execute tasks like this.

@alikon
Copy link
Contributor

alikon commented Jun 23, 2018

@brianteeman
Copy link
Contributor

Closing here as @alikon has started

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants