Pages

Sunday, 14 June 2015

Crontab UI: easy and safe way to manage your crontab files

Editing the plain text crontab is error prone for managing jobs, e.g., adding jobs, deleting jobs, or pausing jobs. A small mistake can easily bring down all the jobs and might cost you a lot of time. With Crontab UI, it is very easy to manage crontab.




Here are the key features of Crontab UI:

1. Easy Setup
2. Safe adding, deleting or pausing jobs. Easy to maintain hundreds of jobs.
3. Backup your crontabs.
4. Export crontab and deploy on other machines without much hassle.
5. Error log support

Fork me on Github

Setup

You have to setup crontab-ui on all the machines on which you want to manage crontab. Note that while running Crontab UI, you have to be on the same user as that of the crontab.

npm install crontab-ui
crontab-ui

Adding, deleting, pausing and resuming jobs.

Once setup Crontab UI provides you with a web interface using which you can manage all the jobs without much hassle.



Backup and restore crontab

Keep backups of your crontab in case you mess up.



Export and import crontab on multiple instances of Crontab UI.


If you want to run the same jobs on multiple machines simply export from one instance and import the same on the other. No SSH, No copy paste!


But make sure to take a backup before importing.

See when the job is going to run next.



Separate error log support for every job





These are some of the things I am planning to add in the future


1. Run jobs as different user in one place.
2. Profiling jobs.
3. Importing from existing crontab file.

Contribute

Fork Crontab UI and contribute to it. Pull requests are encouraged.




1 comment: