carlosporta
carlosporta
I do not know how rocketry works internally, but here are some comments. **1. Synced logs: Put task logs to the same database and spawn multiple Rocketry apps** _I'm not...
What do you think about this architecture?  1. A python client creates the Rocketry app 2. The client can call the Rocketry app to run a task or the...
You are not using the starting condition correctly. `daily.at` must be a function not a string. ```python from rocketry import Rocketry from rocketry.conds import daily, weekly app = Rocketry() @app.task(daily.at('21:00')...
```python import asyncio import logging from api import app as app_fastapi from scheduler import app as app_rocketry @app_fastapi.on_event('startup') async def on_startup(): logger = logging.getLogger('rocketry.task') logger.addHandler(logging.StreamHandler()) asyncio.create_task(app_rocketry.serve()) @app_fastapi.on_event('shutdown') def on_shutdown(): print('shutdown')...