You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to start the taskiq scheduler when the fast stream app starts? Like in the same program such that it is not needed to run 2 instances (scheduler and worker)?
@theobouwman everything is possible - it's programming. But I don't know how - I didn't use taskiq. Please, check their documentation for an ability to start scheduler from the code
As far as I know, there’s currently no convenient way to run the scheduler and the worker at the same time. This is mainly because the worker and scheduler can only be started from the CLI using two different commands: taskiq worker and taskiq scheduler. There’s also no proper interface to run them directly from code.
Additionally, it’s generally not recommended to run the scheduler together with the worker, since you should have only one instance of the scheduler but potentially multiple workers.
Activity
theobouwman commentedon Nov 2, 2025
@Lancetnik is this possible?
Lancetnik commentedon Nov 2, 2025
@theobouwman everything is possible - it's programming. But I don't know how - I didn't use taskiq. Please, check their documentation for an ability to start scheduler from the code
danfimov commentedon Nov 5, 2025
As far as I know, there’s currently no convenient way to run the scheduler and the worker at the same time. This is mainly because the worker and scheduler can only be started from the CLI using two different commands:
taskiq workerandtaskiq scheduler. There’s also no proper interface to run them directly from code.Additionally, it’s generally not recommended to run the scheduler together with the worker, since you should have only one instance of the scheduler but potentially multiple workers.