{"id":19614616,"url":"https://github.com/activestate/dockron","last_synced_at":"2025-04-28T01:32:13.163Z","repository":{"id":20663257,"uuid":"23945632","full_name":"ActiveState/dockron","owner":"ActiveState","description":"Schedule your 'docker run's without having to install cron on the host","archived":false,"fork":false,"pushed_at":"2015-12-18T17:59:32.000Z","size":7,"stargazers_count":29,"open_issues_count":1,"forks_count":9,"subscribers_count":47,"default_branch":"master","last_synced_at":"2025-04-05T04:51:13.731Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://registry.hub.docker.com/u/activestate/dockron/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"saltstack-formulas/salt-formula","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ActiveState.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}},"created_at":"2014-09-12T03:36:09.000Z","updated_at":"2023-08-22T14:40:27.000Z","dependencies_parsed_at":"2022-07-23T06:30:24.190Z","dependency_job_id":null,"html_url":"https://github.com/ActiveState/dockron","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/ActiveState%2Fdockron","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ActiveState%2Fdockron/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ActiveState%2Fdockron/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ActiveState%2Fdockron/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ActiveState","download_url":"https://codeload.github.com/ActiveState/dockron/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251234078,"owners_count":21556781,"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":[],"created_at":"2024-11-11T10:53:06.987Z","updated_at":"2025-04-28T01:32:12.029Z","avatar_url":"https://github.com/ActiveState.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"dockron\n=======\n\ndockron allows you to schedule your 'docker run's. \n\nExample\n-------\n\n```\n# Create a convenient alias:\n$ alias dockron=\"docker run --rm \\\n       -v $(which docker):/usr/bin/docker:ro \\\n       -v /var/run/docker.sock:/var/run/docker.sock \\\n       activestate/dockron\"\n\n# Invoke your favourite container periodically (here, every minute):\n$ dockron \"0 * * * *\" docker run ubuntu /bin/bash -c \"echo Hello world\"\n...\n```\n\nThe first argument is the crontab-formatted repeat schedule. Rest of\nthe arguments should specify the entire 'docker run' command-line.\n\nLogging\n-------\n\nThe dockron container will log appropriately such that you may setup\nlog triggers to get notified if a command fails to run. This is\nespecially useful when you are managing containers using\n[Papertrail](https://papertrailapp.com) and\n[logspout](https://github.com/progrium/logspout), and as such demonstrates\nthe reason for using dockron instead of crontab on the docker host; the\nscheduler is no different from that which it schedules, as all of them\nare docker containers, and managed in the same way.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factivestate%2Fdockron","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Factivestate%2Fdockron","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factivestate%2Fdockron/lists"}