{"id":13459151,"url":"https://github.com/alseambusher/crontab-ui","last_synced_at":"2025-05-14T06:14:26.798Z","repository":{"id":33599650,"uuid":"37251799","full_name":"alseambusher/crontab-ui","owner":"alseambusher","description":"Easy and safe way to manage your crontab file","archived":false,"fork":false,"pushed_at":"2024-05-01T20:46:40.000Z","size":2790,"stargazers_count":2989,"open_issues_count":8,"forks_count":484,"subscribers_count":60,"default_branch":"main","last_synced_at":"2025-04-11T01:41:49.468Z","etag":null,"topics":["crontab","nodejs","unix"],"latest_commit_sha":null,"homepage":"https://lifepluslinux.blogspot.com/2015/06/crontab-ui-easy-and-safe-way-to-manage.html","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alseambusher.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-06-11T09:27:07.000Z","updated_at":"2025-04-09T03:34:09.000Z","dependencies_parsed_at":"2024-06-19T05:30:09.324Z","dependency_job_id":"f95eefe8-0514-4ad6-b4d2-b7190957417d","html_url":"https://github.com/alseambusher/crontab-ui","commit_stats":{"total_commits":150,"total_committers":25,"mean_commits":6.0,"dds":"0.20666666666666667","last_synced_commit":"c69ef51a045994632dd8ffabd5ae9606fada91d1"},"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alseambusher%2Fcrontab-ui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alseambusher%2Fcrontab-ui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alseambusher%2Fcrontab-ui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alseambusher%2Fcrontab-ui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alseambusher","download_url":"https://codeload.github.com/alseambusher/crontab-ui/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254083900,"owners_count":22011905,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["crontab","nodejs","unix"],"created_at":"2024-07-31T09:01:06.669Z","updated_at":"2025-05-14T06:14:26.743Z","avatar_url":"https://github.com/alseambusher.png","language":"JavaScript","readme":"Crontab UI\n==========\n\n[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=U8328Q7VFZMTS)\n[![npm](https://img.shields.io/npm/v/crontab-ui.svg?style=flat-square)](https://lifepluslinux.blogspot.com/2015/06/crontab-ui-easy-and-safe-way-to-manage.html)\n[![npm](https://img.shields.io/npm/dt/crontab-ui.svg?style=flat-square)](https://lifepluslinux.blogspot.com/2015/06/crontab-ui-easy-and-safe-way-to-manage.html)\n[![npm](https://img.shields.io/npm/dm/crontab-ui.svg?style=flat-square)](https://lifepluslinux.blogspot.com/2015/06/crontab-ui-easy-and-safe-way-to-manage.html)\n[![npm](https://img.shields.io/docker/pulls/alseambusher/crontab-ui.svg?style=flat-square)](https://lifepluslinux.blogspot.com/2015/06/crontab-ui-easy-and-safe-way-to-manage.html)\n[![npm](https://img.shields.io/npm/l/crontab-ui.svg?style=flat-square)](https://lifepluslinux.blogspot.com/2015/06/crontab-ui-easy-and-safe-way-to-manage.html)\n\nEditing 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.\n\n![flow](https://github.com/alseambusher/crontab-ui/raw/gh-pages/screenshots/flow.gif)\n\n1. Easy setup. You can even import from existing crontab.\n2. Safe adding, deleting or pausing jobs. Easy to maintain hundreds of jobs.\n3. Backup your crontabs.\n4. Export crontab and deploy on other machines without much hassle.\n5. Error log support.\n6. Mailing and hooks support.\n\nRead [this](https://lifepluslinux.blogspot.com/2015/06/crontab-ui-easy-and-safe-way-to-manage.html) to see more details.\n\n## Setup\n\nGet latest `node` from [here](https://nodejs.org/en/download/current/). Then,\n\n    npm install -g crontab-ui\n    crontab-ui\n\nIf you need to set/use an alternative host, port OR base url, you may do so by setting an environment variable before starting the process:\n\n    HOST=0.0.0.0 PORT=9000 BASE_URL=/alse crontab-ui\n\nBy default, db, backups and logs are stored in the installation directory. It is **recommended** that it be overriden using env variable `CRON_DB_PATH`. This is particularly helpful in case you **update** crontab-ui.\n\n    CRON_DB_PATH=/path/to/folder crontab-ui\n    \nIf you need to apply basic HTTP authentication, you can set user name and password through environment variables:\n\n    BASIC_AUTH_USER=user BASIC_AUTH_PWD=SecretPassword\n    \nAlso, you may have to **set permissions** for your `node_modules` folder. Refer [this](https://docs.npmjs.com/getting-started/fixing-npm-permissions).\n\nIf you need to use SSL, you can pass the private key and certificate through environment variables:\n\n    SSL_CERT=/path/to/ssl_certificate SSL_KEY=/path/to/ssl_private_key\n\nMake sure node has the correct **permissions** to read the certificate and the key.\n\nIf you need to autosave your changes to crontab directly:\n\n    crontab-ui --autosave\n\n### List of ennvironment variables supported\n- HOST\n- PORT\n- BASE_URL\n- CRON_DB_PATH\n- CRON_PATH\n- BASIC_AUTH_USER, BASIC_AUTH_PWD\n- SSL_CERT, SSL_KEY \n- ENABLE_AUTOSAVE\n\n\n## Docker\nYou can use crontab-ui with docker. You can use the prebuilt images in the [dockerhub](https://hub.docker.com/r/alseambusher/crontab-ui/tags)\n```bash\ndocker run -d -p 8000:8000 alseambusher/crontab-ui\n```\n\nYou can also build it yourself if you want to customize, like this:\n```bash\ngit clone https://github.com/alseambusher/crontab-ui.git\ncd crontab-ui\ndocker build -t alseambusher/crontab-ui .\ndocker run -d -p 8000:8000 alseambusher/crontab-ui\n```\n\nIf you want to use it with authentication, You can pass `BASIC_AUTH_USER` and `BASIC_AUTH_PWD` as env variables\n```bash\ndocker run -e BASIC_AUTH_USER=user -e BASIC_AUTH_PWD=SecretPassword -d -p 8000:8000 alseambusher/crontab-ui \n```\n\nYou can also mount a folder to store the db and logs.\n```bash\nmkdir -p crontabs/logs\ndocker run --mount type=bind,source=\"$(pwd)\"/crontabs/,target=/crontab-ui/crontabs/ -d -p 8000:8000 alseambusher/crontab-ui\n```\n\nIf you are looking to modify the host's crontab, you would have to mount the crontab folder of your host to that of the container. \n```bash\n# On Ubuntu, it can look something like this and /etc/cron.d/root is used\ndocker run -d -p 8000:8000 -v /etc/cron.d:/etc/crontabs alseambusher/crontab-ui\n```\n\n    \n## Resources\n\n* [Full usage details](https://lifepluslinux.blogspot.com/2015/06/crontab-ui-easy-and-safe-way-to-manage.html)\n* [Issues](https://github.com/alseambusher/crontab-ui/blob/master/README/issues.md)\n* [Setup Mailing after execution](https://lifepluslinux.blogspot.com/2017/03/introducing-mailing-in-crontab-ui.html)\n* [Integration with nginx and authentication](https://github.com/alseambusher/crontab-ui/blob/master/README/nginx.md)\n* [Setup on Raspberry pi](https://lifepluslinux.blogspot.com/2017/03/setting-up-crontab-ui-on-raspberry-pi.html)\n\n### Adding, deleting, pausing and resuming jobs.\n\nOnce setup Crontab UI provides you with a web interface using which you can manage all the jobs without much hassle.\n\n![basic](https://github.com/alseambusher/crontab-ui/raw/gh-pages/screenshots/main.png)\n\n### Import from existing crontab\n\nImport from existing crontab file automatically.\n![import](https://github.com/alseambusher/crontab-ui/raw/gh-pages/screenshots/import.gif)\n\n### Backup and restore crontab\n\nKeep backups of your crontab in case you mess up.\n![backup](https://github.com/alseambusher/crontab-ui/raw/gh-pages/screenshots/backup.png)\n\n### Export and import crontab on multiple instances of Crontab UI.\n\nIf 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!\n\n![export](https://github.com/alseambusher/crontab-ui/raw/gh-pages/screenshots/import_db.png)\n\nBut make sure to take a backup before importing.\n\n### Separate error log support for every job\n![logs](https://github.com/alseambusher/crontab-ui/raw/gh-pages/screenshots/log.gif)\n\n### Donate\nLike the project? [Buy me a coffee](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=U8328Q7VFZMTS)!\n\n### Contribute\nFork Crontab UI and contribute to it. Pull requests are encouraged.\n\n### License\n[MIT](LICENSE.md)\n","funding_links":["https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=U8328Q7VFZMTS","https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=U8328Q7VFZMTS)!"],"categories":["JavaScript","Cron Job"],"sub_categories":["IRC"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falseambusher%2Fcrontab-ui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falseambusher%2Fcrontab-ui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falseambusher%2Fcrontab-ui/lists"}