{"id":30678099,"url":"https://github.com/atd/rails-scheduler","last_synced_at":"2025-09-01T13:09:52.151Z","repository":{"id":1980037,"uuid":"2911684","full_name":"atd/rails-scheduler","owner":"atd","description":"Provide a Rails application with support for scheduled events","archived":false,"fork":false,"pushed_at":"2013-09-27T09:52:39.000Z","size":150,"stargazers_count":17,"open_issues_count":2,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-09T20:57:18.238Z","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/atd.png","metadata":{"files":{"readme":"README.rdoc","changelog":null,"contributing":null,"funding":null,"license":"MIT-LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-12-04T18:40:06.000Z","updated_at":"2023-08-28T04:59:34.000Z","dependencies_parsed_at":"2022-08-20T16:00:54.190Z","dependency_job_id":null,"html_url":"https://github.com/atd/rails-scheduler","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/atd/rails-scheduler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atd%2Frails-scheduler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atd%2Frails-scheduler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atd%2Frails-scheduler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atd%2Frails-scheduler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atd","download_url":"https://codeload.github.com/atd/rails-scheduler/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atd%2Frails-scheduler/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273129651,"owners_count":25050790,"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-01T02:00:09.058Z","response_time":120,"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-09-01T13:09:49.865Z","updated_at":"2025-09-01T13:09:52.145Z","avatar_url":"https://github.com/atd.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"= Rails Scheduler\n\n{\u003cimg src=\"https://gemnasium.com/atd/rails-scheduler.png\" /\u003e}[https://gemnasium.com/atd/rails-scheduler]\n\nThis project provides your Rails application with support for scheduled events\n\n* Provide any model with database-stored scheduler (weekly, monthly, etc..)\n* Database queries to obtain instance between dates\n* Build Javascript powered scheduler forms\n* I18n and l10n support\n\n== Install\n\nJust add \u003ctt\u003egem 'rails-scheduler'\u003c/tt\u003e to your +Gemfile+ and \u003ctt\u003ebundle update\u003c/tt\u003e\n\n== Usage\n\nA sample migration is available at db/migrate\n\nThen, just add to your model:\n\n  class Event \u003c ActiveRecord::Base\n    scheduler\n  end\n\nNow, you can create events such as:\n\n  event = Event.create(:start_at =\u003e Time.now,\n                       :end_at =\u003e Time.now + 3.hours,\n                       :frequency =\u003e 2,     # weekly\n                       :interval  =\u003e 1,     # every 1 week\n                       :week_days =\u003e [ 1 ]) # on monday  \n\n  Event.between(Date.today, Date.today + 15) #=\u003e [ next monday, next monday + 1 week, etc.. ] \n\n\nThis example is based on an Event class. However, it Rails Scheduler works with any\nmodel, provided the suitable database fields are created\n\n== ToDo\n\n* Daily and yearly frequencies\n* Generator that copies the migration, at least.\n* Use SQL for database query optimization.\n  See http://www.codeproject.com/KB/database/sqlscheduleselector.aspx\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatd%2Frails-scheduler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatd%2Frails-scheduler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatd%2Frails-scheduler/lists"}