- Move timer function scheduling and execution logic from `app.py` to new `worker.py` - Update `Procfile` to launch worker process alongside web application - Simplify main application startup by removing scheduler configuration - Maintain existing timer function execution and logging behavior
2 lines
59 B
Plaintext
2 lines
59 B
Plaintext
web: gunicorn app:app --workers=4
|
|
worker: python worker.py |