https://github.com/eon01/centralgo
A Multithreaded Scheduling Tool For Running Scripts And Routine Tasks.
https://github.com/eon01/centralgo
Last synced: 9 months ago
JSON representation
A Multithreaded Scheduling Tool For Running Scripts And Routine Tasks.
- Host: GitHub
- URL: https://github.com/eon01/centralgo
- Owner: eon01
- License: gpl-2.0
- Created: 2014-11-04T07:49:01.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-05-12T15:11:36.000Z (about 11 years ago)
- Last Synced: 2025-09-02T05:51:03.286Z (10 months ago)
- Language: Python
- Homepage:
- Size: 188 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CentralGo
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 "me@email.com";
or
define "MyJob" run "run.sh" every "sunday at 23:55" notify "me@email.com"
* 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
## Installation
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
## Usage
configure
/opt/CentralGo/conf/jobs.conf
/opt/CentralGo/conf/general.conf
then launch the daemon
centralgo start|stop|restart
## License
GNU/GPL V2
## Maintainer
amri.aymen@gmail.com / @eon01 (Twitter/Github)