{"id":28702902,"url":"https://github.com/epiforecasts/schedule","last_synced_at":"2025-09-03T05:39:24.738Z","repository":{"id":48066688,"uuid":"328420191","full_name":"epiforecasts/schedule","owner":"epiforecasts","description":"EpiForecasts server job scheduling (CRON, docker, and bash)","archived":false,"fork":false,"pushed_at":"2024-04-17T10:31:35.000Z","size":66,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-06-14T13:05:52.303Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","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/epiforecasts.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,"zenodo":null}},"created_at":"2021-01-10T15:53:06.000Z","updated_at":"2023-10-30T17:27:29.000Z","dependencies_parsed_at":"2024-03-12T15:00:19.280Z","dependency_job_id":"203bd7d1-6bcb-4be4-9291-7deb6f74015e","html_url":"https://github.com/epiforecasts/schedule","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/epiforecasts/schedule","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epiforecasts%2Fschedule","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epiforecasts%2Fschedule/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epiforecasts%2Fschedule/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epiforecasts%2Fschedule/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/epiforecasts","download_url":"https://codeload.github.com/epiforecasts/schedule/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epiforecasts%2Fschedule/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273397847,"owners_count":25098233,"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-03T02:00:09.631Z","response_time":76,"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":"2025-06-14T13:05:49.926Z","updated_at":"2025-09-03T05:39:24.691Z","avatar_url":"https://github.com/epiforecasts.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Schedule routine server jobs\n\nThis repository contains the setup scripts, job scripts and scheduling information required to automate routine server jobs. It uses CRON, docker, and bash.\n\n## Setup\n\n1. Clone this repository using:\n\n```\ngit clone https://github.com/epiforecasts/schedule.git\n```\n\n2. Install docker (using your Github username and a PAT code to sign in to the GitHub container registry):\n\n```\n. schedule/setup/docker.sh\n```\n\n3. Set up credential files at `~/.` (using `nano ~/.gitconfig` etc.):\n\n```\n.gitconfig:\n[user]\n    name = thomas the tank engine\n    email = thomas.the.tank.engine@engines.com\n\n.netrc:\nmachine github.com\nlogin TtheTank\npassword github-pat\n\nmachine api.github.com\nlogin TtheTank\npassword github-pat\n```\n\n4. Setup the container environments for all scheduled jobs (see `setup` for each individual container environment):\n\n```\n. schedule/setup/all.sh\n```\n\n## Jobs\n\nIndividual jobs are defined in `jobs` as `bash` scripts and use one of the container environments defined in `setup`.\n\n## Schedule\n\nJob scheduling is defined in `crontab.sh` - see [here](https://crontab.guru) for help defining a schedule for a job. Logs from each job are stored in the `logs` folder. After adding a job to `crontab.sh` or when setting up a new scheduling server use the following to update the `crontab`:\n\n```\ncrontab \u003c schedule/crontab.sh\n```\n\nThen check the `crontab` is as expected using:\n\n```\ncrontab -l\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fepiforecasts%2Fschedule","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fepiforecasts%2Fschedule","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fepiforecasts%2Fschedule/lists"}