Simplify scheduling Python scripts on Linux. Just drop your Python script in the designated folder for your desired interval (minute, half-hour, hour, or day) and script-engine takes care of the rest.
Features:
Effortless scheduling: No complex configuration or cron jobs needed.
I needed a simple way to run some python scripts on my Raspbery Pi to collect home automation data at regular intervals.
- Download the files in this project
- Extract the entire script-engine folder and place it in your user home directory
- Edit your crontab file ("crontab -e" command) and paste the following lines at the end of the file:
* * * * * ~/script-engine/#setup/minute.sh
*/30 * * * * ~/script-engine/#setup/half-hour.sh
0 * * * * ~/script-engine/#setup/hour.sh
50 23 * * * ~/script-engine/#setup/day.sh
Write your python script and simply drop it into the appropriate folder. For example if i wanted the scrip to run every minute i would need to drop it into /script-engine/minute
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
31/05/2020: v0.1 Beta
- Template for this README is Template-README created by Zain Khan
See the LICENSE file in this project's directory.