-
Notifications
You must be signed in to change notification settings - Fork 890
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
Scheduled tasks? #97
Comments
👍 interested in this feature. |
I don't really agree that this feature is in the spirit of a Flask-inspired web framework. There are a lot of examples here on GitHub of C schedulers that you can integrate with ease. |
I think "run in the same thread" feature can be helpful for avoiding some multithreading problems. (like |
@trevstanhope For threaded (or not) tasks I've used C CSP2 but not sure about scheduling (don't do much C these days). |
Depending on how complex your tasks are you might be able to get away an std::thread or an std::packaged_task combined with std::this_thread::sleep_until. |
Does crow have the ability to schedule tasks to be run on an interval? I.e. like for scheduling a maintenance function? (similar to Monitors in CherryPy3)
Would you be interested in help building/integrating that feature?
The text was updated successfully, but these errors were encountered: