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

Can the scheduler be run without running the flask app ? #36

Closed
rahulravindran0108 opened this issue Feb 17, 2017 · 4 comments
Closed
Labels

Comments

@rahulravindran0108
Copy link

rahulravindran0108 commented Feb 17, 2017

Is it possible to start the apscheduler as a daemon running outside the flask app ? This is more of a question than an issue.

@viniciuschiele
Copy link
Owner

Hi,

My library integrates APScheduler and Flask.

So if you don't need Flask I recommend you to use directly APScheduler which is not developed by me.

@rahulravindran0108
Copy link
Author

My only concern is can we have it running like celery. Here if the app fails I also lose my apscheduler process. At the same time I also want to leverage the API and the sqlalchemy job store present. So it is more about daemonizing it and make it fault tolerant.

@viniciuschiele
Copy link
Owner

You can have only one instance running at the same time otherwise you will see duplicated tasks running. If your requirement includes fault tolerant I'd recommend you to use Celery/Beat.

@viniciuschiele
Copy link
Owner

I will close this issue, feel free to open it again.

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

No branches or pull requests

2 participants