{"id":17679979,"url":"https://github.com/costajob/rsync_cron","last_synced_at":"2025-03-30T18:48:11.285Z","repository":{"id":56893058,"uuid":"104732417","full_name":"costajob/rsync_cron","owner":"costajob","description":"Install specified rsync command into crontab schedule","archived":false,"fork":false,"pushed_at":"2017-09-26T13:22:48.000Z","size":39,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-05T21:29:05.906Z","etag":null,"topics":["rsync","ruby","schedule"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/costajob.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}},"created_at":"2017-09-25T09:50:38.000Z","updated_at":"2018-11-29T11:06:30.000Z","dependencies_parsed_at":"2022-08-20T16:10:39.510Z","dependency_job_id":null,"html_url":"https://github.com/costajob/rsync_cron","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/costajob%2Frsync_cron","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/costajob%2Frsync_cron/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/costajob%2Frsync_cron/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/costajob%2Frsync_cron/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/costajob","download_url":"https://codeload.github.com/costajob/rsync_cron/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246365640,"owners_count":20765546,"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":["rsync","ruby","schedule"],"created_at":"2024-10-24T09:05:00.765Z","updated_at":"2025-03-30T18:48:10.816Z","avatar_url":"https://github.com/costajob.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Table of Contents\n\n* [Scope](#scope)\n* [Installation](#installation)\n* [Warning](#warning)\n* [Usage](#usage)\n\n# Scope\nThe scope of this gem is to install the specified `rsync` command into the `crontab` schedule.\n\n# Installation\nInstall the gem from your shell:\n```shell\ngem install rsync_cron\n```\n\n# Warning\nBe aware that this library will write to the `crontab` file in a destructive way.  \nDo remember to take a backup before installing a new `crontab`.\n\n# Usage\nThe gem comes with a CLI interface, you can print its help by:\n```shell\nrsync_cron -h\nUsage: rsync_cron --cron='15,30 21' --src=/ --dest=/tmp --log=/var/log/rsync.log --opts=noatime,temp-dir='./temp'\n    -c, --cron=CRON                  The cron string, i.e.: '15 21 * * *'\n    -s, --src=SRC                    The rsync source, i.e. user@src.com:files\n    -d, --dest=DEST                  The rsync dest, i.e. user@dest.com:home/\n    -l, --log=LOG                    Log command output to specified file\n    -o, --opts=OPTS                  Merge specified extra options, when supported\n    -p, --print                      Print crontab command without installing it\n    -k, --check                      Check src and dest before installing crontab\n    -h, --help                       Prints this help\n```\n\n## Default schedule\nThe `crontab` is scheduled one per day by default (at midnight).  \nYou can specify a different schedule directly on the command line:\n```shell\n# run every sunday\nrsync_cron --cron='* * * * 0' --src=user@src.com:files --dest=~/tmp\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcostajob%2Frsync_cron","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcostajob%2Frsync_cron","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcostajob%2Frsync_cron/lists"}