Skip to content
This repository has been archived by the owner on Sep 20, 2020. It is now read-only.

Latest commit

 

History

History
34 lines (25 loc) · 1.66 KB

README.md

File metadata and controls

34 lines (25 loc) · 1.66 KB

Crony Build Status Scrutinizer Code Quality

Crony is a tool that helps you manage remote and local crontabs all in one place.

Features

List jobs present on your local machine:

$ crony ls
+----+--------------------+--------------+--------------+------------------+
| ID |      Command       |  Expression  |   Log File   |    Error Log     |
+----+--------------------+--------------+--------------+------------------+
| 1  |   ls /tmp/*.csv    |  * * * * *   | /tmp/out.log | /tmp/err.out.log |
| 2  | /tmp/createfile.sh | */6 * * * *  |              |                  |
+----+--------------------+--------------+--------------+------------------+

List jobs on a remote machine (sshd port: 32768):

$ crony ls [email protected]:32768 
[email protected]'s password: 
+----+--------------+------------+---------------+-------------------+
| ID |   Command    | Expression |    Log File   |     Error Log     |
+----+--------------+------------+---------------+-------------------+
| 1  | /tmp/blah.sh | 58 * * * * | /tmp/blah.log | /tmp/blah.err.log |
+----+--------------+------------+---------------+-------------------+

Crony can also copy and delete jobs across servers.

Missing a feature? - Add an Issue! (;

Installation

git clone https://github.com/int3rlop3r/crony.git
cd crony
python setup.py install