pre-commit-ci[bot] on pre-commit-ci-update-config
[pre-commit.ci] pre-commit auto… (compare)
agronholm on master
Fixed SQLAlchemy 2.0 compatibil… (compare)
agronholm on 3.10.0
agronholm on 3.x
Updated actions (compare)
agronholm on 3.x
Fixed compatibility with SQLAlc… Dropped support for Python < 3.6 (compare)
pre-commit-ci[bot] on pre-commit-ci-update-config
[pre-commit.ci] pre-commit auto… (compare)
Can anyone give me a rough estimation of machine requirements(CPU and mem) for the flask server with apscheduler?
I am thinking of 1 core CPU and 1 GB of memory would sufficient.
scheduler.shutdown(wait=True)
Sadly, sadly... Will try to come up with something to solve the problem.
I will describe our gracefull shutdown use case, maybe it will help in the development of version 4.0
1) Shutdown scheduler (stop scheduling new jobs)
2) Wait until all tasks are completed
3) Force exit if after 15 seconds if there is still uncompleted tasks (cause, there could be tasks that runs for some minutes)
4) Close DB and HTTP session pools
()
syntax calls the function
x = foo()
would assign the function object to x, did you?
in aiocron i can use like this:@aiocron.crontab('29 17 * * 3,6,0')
but how to do that in apscheduler?
like this?@scheduler.scheduled_job('cron', hour='17', minutes='29', day_of_week='wed,sat,sun')