alse
0222190b03
|
7 years ago | |
---|---|---|
.github | 8 years ago | |
README | 7 years ago | |
bin | 8 years ago | |
config | 8 years ago | |
crontabs | 9 years ago | |
public | 7 years ago | |
views | 7 years ago | |
.dockerignore | 7 years ago | |
.gitignore | 9 years ago | |
Dockerfile | 7 years ago | |
LICENSE.md | 9 years ago | |
README.md | 7 years ago | |
app.js | 7 years ago | |
app.json | 10 years ago | |
crontab.js | 7 years ago | |
package-lock.json | 7 years ago | |
package.json | 7 years ago | |
restore.js | 8 years ago | |
routes.js | 7 years ago | |
supervisord.conf | 7 years ago |
README.md
Crontab UI
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.
- Easy setup. You can even import from existing crontab.
- Safe adding, deleting or pausing jobs. Easy to maintain hundreds of jobs.
- Backup your crontabs.
- Export crontab and deploy on other machines without much hassle.
- Error log support.
- Mailing and hooks support.
Read this to see more details.
Setup
Get latest node
from here. Then,
npm install -g crontab-ui
crontab-ui
If you need to set/use an alternative host or port, you may do so by setting an environment variable before starting the process:
HOST=0.0.0.0 PORT=9000 crontab-ui
Also, you may have to set permissions for your node_modules
folder. Refer this.
If you need to autosave your changes to crontab directly:
crontab-ui --autosave
Setting up with docker:
git clone https://github.com/alseambusher/crontab-ui.git
cd crontab-ui
docker build -t alseambusher/crontab-ui .
docker run -d -p 8000:8000 alseambusher/crontab-ui
Resources
- Full usage details
- Issues
- Setup Mailing after execution
- Integration with nginx and authentication
- Setup on Raspberry pi
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.
Import from existing crontab
Import from existing crontab file automatically.
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.
Separate error log support for every job
Donate
Like the project? Buy me a coffee!
Contribute
Fork Crontab UI and contribute to it. Pull requests are encouraged.