{"id":24557978,"url":"https://github.com/cuddlyclara/safecron","last_synced_at":"2026-05-08T13:08:08.094Z","repository":{"id":272460641,"uuid":"916660942","full_name":"cuddlyclara/safecron","owner":"cuddlyclara","description":"Wrapper for crontab that automatically includes the -i flag, preventing accidental deletion of the user's crontab with the -r flag.","archived":false,"fork":false,"pushed_at":"2025-01-14T14:53:43.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-05T09:05:40.939Z","etag":null,"topics":["bash","crontab","linux","shell","wrapper"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/cuddlyclara.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":"2025-01-14T14:33:15.000Z","updated_at":"2025-01-14T18:24:51.000Z","dependencies_parsed_at":"2025-01-14T16:11:41.686Z","dependency_job_id":"0786d990-c5a4-4e45-bb66-4039d3a46f69","html_url":"https://github.com/cuddlyclara/safecron","commit_stats":null,"previous_names":["cuddlyclara/safecron"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cuddlyclara/safecron","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuddlyclara%2Fsafecron","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuddlyclara%2Fsafecron/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuddlyclara%2Fsafecron/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuddlyclara%2Fsafecron/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cuddlyclara","download_url":"https://codeload.github.com/cuddlyclara/safecron/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuddlyclara%2Fsafecron/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32781676,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"ssl_error","status_checked_at":"2026-05-08T08:22:45.650Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bash","crontab","linux","shell","wrapper"],"created_at":"2025-01-23T05:31:32.603Z","updated_at":"2026-05-08T13:08:08.073Z","avatar_url":"https://github.com/cuddlyclara.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SafeCron\n\nSafeCron is a wrapper for the `crontab` command that automatically includes the `-i` flag to prevent accidental deletion of the user's crontab when using the `-r` flag.\n\n## Installation\n\nTo install SafeCron, use one of the following methods:\n\n### Using `wget`\n\n\n```bash\nsudo wget -q https://raw.githubusercontent.com/cuddlyclara/safecron/refs/heads/main/safecron.sh -O /usr/local/bin/safecron \u0026\u0026 sudo chmod +x /usr/local/bin/safecron\n```\n\n### Using `curl`\n\n\n```bash\nsudo curl -s https://raw.githubusercontent.com/cuddlyclara/safecron/refs/heads/main/safecron.sh -o /usr/local/bin/safecron \u0026\u0026 sudo chmod +x /usr/local/bin/safecron\n```\n\n\n## Usage\n\nOnce installed, you can use `safecron` just like the regular `crontab` command. It will automatically include the `-i` flag for safety, preventing any accidental deletion of crontab entries.\n\n### Example\n\nTo edit your crontab:\n\n```bash\nsafecron -e\n```\n\nIf you run the following command to delete your crontab:\n\n```bash\nsafecron -r\n```\n\nYou will always be prompted with the following question:\n\n```\ncrontab: really delete user's crontab? (y/n)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcuddlyclara%2Fsafecron","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcuddlyclara%2Fsafecron","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcuddlyclara%2Fsafecron/lists"}