Replies: 2 comments
-
|
Please, provide minimal reproducible example |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Closing this. Feel free to reopen it when you are ready to provide more info |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Privileged issue
Issue Content
i use this command to start my application
nohup uvicorn app:app --host 0.0.0.0 --port 8000 --workers 5 > ../app.log 2>&1 &my task code
`async def my_task():
do some curd code
trigger = CronTrigger(hour=18, minute=35)
scheduler.add_job(my_task, trigger)
scheduler.start()
`
This task will be executed repeatedly, resulting in duplicate data
Beta Was this translation helpful? Give feedback.
All reactions