{"id":19681340,"url":"https://github.com/romansky/scron","last_synced_at":"2026-05-07T16:04:00.859Z","repository":{"id":57729320,"uuid":"20832670","full_name":"romansky/scron","owner":"romansky","description":"Scala cron parser","archived":false,"fork":false,"pushed_at":"2024-01-02T12:20:35.000Z","size":18,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-10T05:36:43.973Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Scala","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/romansky.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-06-14T13:27:01.000Z","updated_at":"2024-01-02T12:20:39.000Z","dependencies_parsed_at":"2025-01-10T05:45:18.783Z","dependency_job_id":null,"html_url":"https://github.com/romansky/scron","commit_stats":null,"previous_names":["uniformlyrandom/scron"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/romansky%2Fscron","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/romansky%2Fscron/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/romansky%2Fscron/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/romansky%2Fscron/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/romansky","download_url":"https://codeload.github.com/romansky/scron/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240990774,"owners_count":19889942,"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-11-11T18:07:34.897Z","updated_at":"2026-05-07T16:03:55.818Z","avatar_url":"https://github.com/romansky.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"scron [![Build Status](https://travis-ci.org/uniformlyrandom/scron.png)](https://travis-ci.org/uniformlyrandom/scron)\n=================\n\nCron format to time parsing implemented in scala\n\n## Usage\n\n```scala\nimport com.uniformlyrandom.scron.Scron\n\nval startTime = DateTime.now.getMillis\nval endTime = startTime + ( 60 * 60 )\n\nval times = Scron.parse(\"* * * * * *\", startTime, endTime)\n// times is now filled with epoch time for every second for the next hour\ntimes.length == 60 * 60\n```\n\n## Supported Cron Formatting\n\n\n### General Format\n\n\t*\t*\t*\t*\t*\t*\n\t|\t|\t|\t|\t|\t|day of week(0-6)\n\t|\t|\t|\t|\t|month(1-12)\n\t|\t|\t|\t|day of month(1-31)\n\t|\t|\t|hour(0-23)\n\t|\t|minute(0-59)\n\t|seconds(0-59)\n\nSee [WikiPedia](http://en.wikipedia.org/wiki/Cron) for more information about the format\n\n### Supported Formatting Of Specific Fields\n\n * `*`  all the options for that field\n * `*/2` starting from the first option, every other option\n * `0` only use the explicitly provided option\n * `2,4,9` use list of values provided, separated by comma\n\n## Installation\n\nUsing sbt, add to `build.sbt`\n\n\tlibraryDependencies ++= Seq(\n        \t\"com.uniformlyrandom\" %% \"scron\" % \"1.0.0\"\n\t)\n\n\n\n\t\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fromansky%2Fscron","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fromansky%2Fscron","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fromansky%2Fscron/lists"}