{{ message }}
Start the monitor with a valid Pynenc app instance:
pynenc --app your_app.py monitor
You can also run the monitor without specifying an app by configuring a state backend:
PYNENC__STATE_BACKEND_CLS=RedisStateBackend \
PYNENC__REDIS_HOST=localhost \
PYNENC__REDIS_PORT=6379 \
pynenc monitor
[tool.pynenc]
state_backend_cls = "RedisStateBackend"
[tool.pynenc.redis]
host = "localhost"
port = 6379
The monitor will attempt to discover apps registered in the configured state backend. For more information, refer to the Pynenc documentation on configuration options.