-
Notifications
You must be signed in to change notification settings - Fork 77
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
Run as a worker process #26
Comments
Hi @lokhman! Thanks for using and trusing this project :-). I would suggest implementing a Feel free to ask any questions you want answered. I'll try to get back to you quicker than I did just now. |
Thank you, @NoUseFreak, for the reply! As this feature was not available in the library and I needed a fast solution to embed one in the project, I wrote a very simple console script, which so far works very well:
This behaves like a synchronous crontab, which runs I was also looking at event-loop library, but thought that probably for this kind of task utilising a full-featured event extension is a bit of an overkill, which will require an extra dependency. Component |
First of all, thank you for a fantastic library!
My question is related to running the cron scheduler as a so called "clock" process in Heroku. Heroku instances don't have crontab. In order to start
cron:run
every minute, you need to have a kind of worker "daemon" process which never dies. One possible example of such process is here: https://devcenter.heroku.com/articles/php-workers.Is there any possible way of starting
cron:run
as a worker process? If there is none, will it be hard to add this functionality, as it will be very helpful in such services as Heroku.Thanks!
The text was updated successfully, but these errors were encountered: