{"id":15642719,"url":"https://github.com/907th/mina-clockwork","last_synced_at":"2025-07-10T20:32:57.869Z","repository":{"id":19107897,"uuid":"22336535","full_name":"907th/mina-clockwork","owner":"907th","description":"Clockwork deployment scenario for mina (unmaintained).","archived":false,"fork":false,"pushed_at":"2021-10-15T09:57:14.000Z","size":17,"stargazers_count":8,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-03-15T05:44:59.178Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/907th.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-07-28T08:54:30.000Z","updated_at":"2022-07-26T05:13:51.000Z","dependencies_parsed_at":"2022-07-16T07:30:40.066Z","dependency_job_id":null,"html_url":"https://github.com/907th/mina-clockwork","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/907th%2Fmina-clockwork","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/907th%2Fmina-clockwork/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/907th%2Fmina-clockwork/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/907th%2Fmina-clockwork/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/907th","download_url":"https://codeload.github.com/907th/mina-clockwork/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221104498,"owners_count":16756864,"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-10-03T11:57:16.443Z","updated_at":"2024-10-22T14:03:18.955Z","avatar_url":"https://github.com/907th.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Unmaintained\n\nDear users of this gem! Sorry, but I no longer maintain it!\n\n# Mina + Clockwork\n\nClockwork deployment scenario for mina. It uses `clockworkd` executable to start\nclockwork daemon on the server. `clockworkd` is the part of the [`clockwork`](https://github.com/Rykian/clockwork).\n\n*Important!* You will need both `clockwork` and `daemons` gems available on the server!\n\n## Installation\n\n```ruby\n# Gemfile\n\ngem \"mina-clockwork\"\n\ngroup :production do\n  gem \"daemons\"  # for `clockworkd`\nend\n```\n\n## Configuration\n\n```ruby\n# config/deploy.rb\n\nrequire \"mina/clockwork\"\n\n... set configuration options here if you need ...\n\ntask deploy: :environment do\n  deploy do\n    invoke :\"clockwork:stop\"\n    ...\n\n    on :launch do\n      ...\n      invoke :\"clockwork:start\"\n    end\n  end\nend\n```\n\nUse these options to configure the plugin:\n\n* `clockwork_dir` - Daemon working dir (Default: current deployment path)\n* `clockwork_file` - Clock file (Default: [current deployment path]/clock.rb)\n* `clockwork_identifier` - Identifier of the `clockworkd` process (Default: name of the clock file)\n* `clockwork_pid_dir` - Dir for `*.pid` file (Default: [shared path]/tmp/pids)\n* `clockwork_log_dir` - Dir for `*.log` files (Default: [shared path]/log)\n\nExample:\n\n```ruby\nset :clockwork_file, -\u003e { \"#{fetch(:current_path)}/my_clock_file.rb\"  }\n```\n\n## Tasks\n\n```\nmina clockwork:restart  # Restart clockwork daemon\nmina clockwork:start    # Start clockwork daemon\nmina clockwork:stop     # Stop clockwork daemon\n```\n\n\n## Contributing\n\nFeel free to contribute!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F907th%2Fmina-clockwork","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F907th%2Fmina-clockwork","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F907th%2Fmina-clockwork/lists"}