{"id":19806026,"url":"https://github.com/cycloidio/ansible-cron","last_synced_at":"2025-09-20T07:52:44.709Z","repository":{"id":68006622,"uuid":"72459532","full_name":"cycloidio/ansible-cron","owner":"cycloidio","description":"Configure crontab and setup crons","archived":true,"fork":false,"pushed_at":"2016-12-07T13:45:19.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-09-20T07:52:40.299Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cycloidio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2016-10-31T17:14:50.000Z","updated_at":"2025-03-12T13:27:32.000Z","dependencies_parsed_at":"2023-03-01T17:15:55.200Z","dependency_job_id":null,"html_url":"https://github.com/cycloidio/ansible-cron","commit_stats":{"total_commits":10,"total_committers":2,"mean_commits":5.0,"dds":"0.30000000000000004","last_synced_commit":"9ca1ddce2e8c97227789458beeb2305a3179e6aa"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cycloidio/ansible-cron","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cycloidio%2Fansible-cron","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cycloidio%2Fansible-cron/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cycloidio%2Fansible-cron/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cycloidio%2Fansible-cron/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cycloidio","download_url":"https://codeload.github.com/cycloidio/ansible-cron/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cycloidio%2Fansible-cron/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276064331,"owners_count":25578999,"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","status":"online","status_checked_at":"2025-09-20T02:00:10.207Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-12T09:06:11.738Z","updated_at":"2025-09-20T07:52:44.683Z","avatar_url":"https://github.com/cycloidio.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"Cron\n=========\n\nConfigure crontab and setup crons on hosts.\n\nGeneraly Dev and Preprod plateform are stopped the night and weekend. By default daily, weekly and monthly are run during the night. Because dev and preprod are stopped, Daily cron are never run. Cron module allow us to override the schedule and run cron during the day.\n\n\nRole Variables\n--------------\n\n  * crons: Used to define crons.\n  * crontab_time: Used to override the crontab run time.\n\nExample Playbook\n----------------\n\n```bash\n\n- hosts: servers\n\n  vars:\n    crontab_time:\n      hourly: \"17 *    * * *\"\n      daily: \"25 6    * * *\"\n      weekly: \"47 6    * * 7\"\n      monthly: \"52 6    1 * *\"\n\n    crons:\n      - name: first cron to add\n        job: \"/my/first/cron/command\"\n        minute: \"30\"\n        hour: \"*\"\n        day: \"*\"\n        month: \"*\"\n        weekday: \"*\"\n        user: foo\n        state: present\n\n  roles:\n    - {role: cycloid.cron, tags: cron}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcycloidio%2Fansible-cron","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcycloidio%2Fansible-cron","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcycloidio%2Fansible-cron/lists"}