{"id":18084523,"url":"https://github.com/endel/khronos","last_synced_at":"2026-03-10T22:09:34.988Z","repository":{"id":4679302,"uuid":"5825832","full_name":"endel/khronos","owner":"endel","description":"Simple HTTP-based Job scheduling for the cloud.","archived":false,"fork":false,"pushed_at":"2012-09-29T17:32:14.000Z","size":828,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-04T08:51:26.750Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"endel.github.com/khronos/","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/endel.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}},"created_at":"2012-09-16T01:55:05.000Z","updated_at":"2013-10-10T18:47:45.000Z","dependencies_parsed_at":"2022-09-13T18:13:37.726Z","dependency_job_id":null,"html_url":"https://github.com/endel/khronos","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/endel/khronos","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endel%2Fkhronos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endel%2Fkhronos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endel%2Fkhronos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endel%2Fkhronos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/endel","download_url":"https://codeload.github.com/endel/khronos/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endel%2Fkhronos/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30357622,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T21:41:54.280Z","status":"ssl_error","status_checked_at":"2026-03-10T21:40:59.357Z","response_time":106,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":[],"created_at":"2024-10-31T15:07:04.725Z","updated_at":"2026-03-10T22:09:34.971Z","avatar_url":"https://github.com/endel.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"khronos [![Build Status](https://secure.travis-ci.org/endel/khronos.png)](http://travis-ci.org/endel/khronos)\n===\n\nSimple HTTP-based Job scheduling for the cloud.\n\nFeatures\n---\n\n  - Schedule of HTTP Requests\n  - Configure recurrency per request\n  - Log HTTP status code for every request made\n  - Query the database via REST API\n\nCurrently only PostgreSQL is supported. Patches for other databases are welcome.\n\nHow it works\n---\n\nKhronos use a rack app to schedule and query for scheduled tasks, and a worker\nprocess to execute them in the background.\n\nAt 'examples' directory you find two rackup files for these processes.\n\nHow to use\n---\n\nCreate a scheduled task:\n\n    RestClient.post('http://localhost:3000/task', {\n      :context =\u003e 'test',\n      :at =\u003e 24.hours.from_now,\n      :task_url =\u003e \"http://myapp.com/do-something-awesome\",\n      :recurrency =\u003e 12.hours\n    })\n    # =\u003e {\"active\":true,\"at\":\"2012-09-15T21:24:56-03:00\",\"context\":\"test\",\"id\":1,\"recurrency\":1,\"task_url\":\"http://myapp.com/do-something-awesome\"}\n\nQuery for a scheduled task:\n\n    RestClient.get('http://localhost:3000/task', :params =\u003e { :context =\u003e 'test' })\n    # =\u003e {\"active\":true,\"at\":\"2012-09-15T21:24:56-03:00\",\"context\":\"test\",\"id\":1,\"recurrency\":1,\"task_url\":\"http://myapp.com/do-something-awesome\"}\n\nDelete a scheduled task by query:\n\n    RestClient.delete('http://localhost:3000/task', :params =\u003e { :status_code =\u003e 404 })\n    # =\u003e {\"deleted\":3}\n    RestClient.delete('http://localhost:3000/task', :params =\u003e { :id =\u003e 9 })\n    # =\u003e {\"deleted\":1}\n\nQuery for logs for tasks that already ran.\n\n    RestClient.get('http://localhost:3000/schedule/logs', :params =\u003e { :status_code =\u003e 500 })\n    # =\u003e [{\"id\":3,\"schedule_id\":1,\"started_at\":\"2012-09-15T13:38:48-03:00\",\"status_code\":500},{\"id\":5,\"schedule_id\":2,\"started_at\":\"2012-09-15T13:38:48-03:00\",\"status_code\":500}]\n\nNote: these examples are using [rest-client](https://github.com/archiloque/rest-client/) and [activesupport](https://github.com/rails/rails/tree/master/activesupport).\n\nContributing\n---\n\nFeel free to fork and send pull requests with features and/or bug fixes.\n\nLicense\n---\n\nKhronos is released under the MIT license. Please read the LICENSE file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fendel%2Fkhronos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fendel%2Fkhronos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fendel%2Fkhronos/lists"}