Beta - Work in progress
CentralGo (CGo) is multithreaded ans user-friendly scheduler for running scripts and routine tasks.
- CGo works like Linux Crontab
The definition of a job is quite easy, just add a similar line to jobs.conf :
define "MyJob" run "echo 'I am the job number 0'" every "1 seconds" notify "email@example.com";
define "MyJob" run "run.sh" every "sunday at 23:55" notify "firstname.lastname@example.org"
- CGo runs as a daemon
This could help you to :
> Run routine tasks like checking if a website is up or down every 5 minutes > Schedule tasks for with email notification > Keep logs on scheduled tasks > Replace your system crontab with a user-friendly definition language
CentralGo uses a number of open source projects to work properly:
* [Python] - Its built-in packages * [Schedule] - An in-process scheduler for periodic jobs
sudo wget https://github.com/eon01/centralGo/archive/master.zip -O CentralGo.zip; unzip CentralGo.zip; rm CentralGo.zip; mv centralGo-master CentralGo; cd CentralGo; sudo mkdir /opt/CentralGo; sudo cp * /opt/CentralGo; sudo ln -s /opt/CentralGo/centralgo.py /usr/bin/centralgo
then launch the daemon
email@example.com / @eon01 (Twitter/Github)