{"id":22688620,"url":"https://github.com/javanile/crontab","last_synced_at":"2025-04-12T05:30:29.574Z","repository":{"id":89152357,"uuid":"605067969","full_name":"javanile/crontab","owner":"javanile","description":"🕓 The best crontab container for your docker compose file.","archived":false,"fork":false,"pushed_at":"2025-03-22T08:38:47.000Z","size":17,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-22T09:26:40.977Z","etag":null,"topics":["automation","backup","cron","crontab","docker","docker-compose","scheduler"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/javanile/crontab","language":"Makefile","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/javanile.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-02-22T11:26:57.000Z","updated_at":"2025-03-22T08:38:51.000Z","dependencies_parsed_at":"2023-06-14T04:27:43.899Z","dependency_job_id":null,"html_url":"https://github.com/javanile/crontab","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javanile%2Fcrontab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javanile%2Fcrontab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javanile%2Fcrontab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javanile%2Fcrontab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/javanile","download_url":"https://codeload.github.com/javanile/crontab/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248523317,"owners_count":21118478,"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":["automation","backup","cron","crontab","docker","docker-compose","scheduler"],"created_at":"2024-12-10T00:15:13.903Z","updated_at":"2025-04-12T05:30:29.505Z","avatar_url":"https://github.com/javanile.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🕓 crontab\n\n\u003e The best **crontab** container for your docker compose file.\n\n## Introduction and benefits\n\nThe crontab image is a tool designed to make it easy for users to run and customize cron on a Docker Compose project.\nOur mission is to provide a user-friendly and efficient solution that can save time and increase productivity.\n\nBy using the crontab image, users can expect the following benefits:\n\n- Saves time by automating scheduled tasks or scripts\n- Increases accuracy by providing detailed logs and real time information\n- Allows for easy collaboration and integration on `docker-compose.yml` file\n\nWe are constantly working to improve the crontab and add new features that will make the app even more useful.\nThank you for choosing our crontab image!\n\n## Supported tags and respective `Dockerfile` links\n\n* [`latest`](https://github.com/javanile/crontab/blob/main/Dockerfile)\n\n## How to use this image\n\nThis is the minimal footprint for crontab on your docker compose projects\n\n```yaml\nversion: \"3\"\n\nservices:\n  crontab:\n    image: javanile/crontab\n    command:\n      - \"* * * * * ping 8.8.8.8\"\n      - \"0 0 1 * * rm -fr /tmp\"\n```\n\n## Using a custom configuration files\n\nThe classic `/etc/crontab` is supported. But DON'T refer to user on crontab.\n\n```yaml\nversion: \"3\"\n\nservices:\n  mysql:\n    image: javanile/crontab\n    volumes:      \n      - ./crontab:/etc/crontab\n```\n\nAs example `./crontab` file. **DON'T USE ROOT ON FILE**\n\n```crontab\n* * * * * date \u003e\u003e /app/debug.log\n```\n\n## Using complex scripts\n\nThis is just an example, and the content can be tailored according to the specifics of the project.\nThe goal is just to give an overview of what's the purpose of the project, and what are the advantages of using it.\n\n```yaml\nversion: \"3\"\n\nservices:\n  crontab:\n    image: javanile/crontab\n    command:    \n      - \"* * * * * bash /app/my-project-script.sh\"\n    volumes:\n      ## Mount local path '.' over '/app' to accessing on script file-system \n      - .:/app      \n      ## Mount 'docker.sock' to enable your script running 'docker compose' as end-user \n      - /var/run/docker.sock:/var/run/docker.sock\n```\n\n## Logging\n\nBy default `javanile/crontab` logs on `stdout` visible with the following command\n\n```shell\n$ docker compose logs -f crontab\n```\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjavanile%2Fcrontab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjavanile%2Fcrontab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjavanile%2Fcrontab/lists"}