{"id":31871628,"url":"https://github.com/syaiful6/cron.ml","last_synced_at":"2025-10-12T20:28:53.241Z","repository":{"id":255885380,"uuid":"853686057","full_name":"syaiful6/cron.ml","owner":"syaiful6","description":"Cron data structure, parser and schedule explorer for OCaml","archived":false,"fork":false,"pushed_at":"2024-09-15T05:15:53.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2024-09-15T09:26:34.263Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"OCaml","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/syaiful6.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":"2024-09-07T08:39:48.000Z","updated_at":"2024-09-15T05:15:56.000Z","dependencies_parsed_at":"2024-09-15T09:26:27.113Z","dependency_job_id":null,"html_url":"https://github.com/syaiful6/cron.ml","commit_stats":null,"previous_names":["syaiful6/cron.ml"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/syaiful6/cron.ml","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syaiful6%2Fcron.ml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syaiful6%2Fcron.ml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syaiful6%2Fcron.ml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syaiful6%2Fcron.ml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/syaiful6","download_url":"https://codeload.github.com/syaiful6/cron.ml/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syaiful6%2Fcron.ml/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279012800,"owners_count":26085187,"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-10-12T02:00:06.719Z","response_time":53,"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-10-12T20:28:52.123Z","updated_at":"2025-10-12T20:28:53.235Z","avatar_url":"https://github.com/syaiful6.png","language":"OCaml","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cron\n\nCron data structure, Angstrom parser and schedule explorer for OCaml.\n\n```ocaml\n(** create a cron schedule and test again current timestamp *)\nlet schedule = Option.get_ok @@ Cron.Parser.parse_cron_schedule \"*/2 * * * *\"\nlet now = Ptime_clock.now ()\nif Cron.Schedule.matches schedule now\n    then\n        print_endline \"schedule matches\"\n        (** run your functions/tasks here *)\n    else\n        (** your cron schedule not matches against current time! DO Nothing *)\n        print_endline \"schedule not matches\"\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyaiful6%2Fcron.ml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsyaiful6%2Fcron.ml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyaiful6%2Fcron.ml/lists"}