This project helps you run in a simple way python cronjobs. Create all your automation in the folder cronjobs
. They will be processed and set up with crontab automatically.
This project is inspired by Hubot.
- Create a python virtual environment
- Run:
FLASK_APP=app FLASK_DEBUG=1 flask run
- http://127.0.0.1:5000/
- Create a new file in the folder
cronjobs
- Prefix the automation with:
# cron: * * * * *
(replace with the correct time) - Code & deploy the app with the script. The automation will be picked by the framework and deployed automatically.