A small Docker container to run and schedule Python scripts
Chronos is a simple application to execute Python scripts in response to certain events. Each script will be assigned a virtual environment and folder, allowing Pip dependencies to be installed with conflicting with other scripts. The current Python version is 3.7.
Chronos is not intended for larger Python scripts that are meant to run forever, or listen on ports (yet!).
You may install Chronos via Docker.
docker pull simsemand/chronos
And then run:
docker run -p 5000:5000 -v CONFIG_PATH:/chronos simsemand/chronos
Please do not expose Chronos to the public internet. At the moment there is zero security against unauthorised access, and attackers would be able to execute malicious code on your server quite easily.
- Beautiful and functional web UI
- Fast and lightweight
- Ability to create individual virtual environments
- Interval triggers (e.g. every 10 seconds)
- CRON triggers (e.g. every 5th day of the month)
stdout
andstderr
output capture- Live script output capture (so you know it's still working)
Trivial requests will usually be added quickly. Larger requests will take a little longer. I am, after all, still a busy university student.
You can find screenshots right here.
If you found a bug, which wouldn't surprise me, please do send me an email at [email protected] or better yet, open an issue on GitHub.