{"id":20564517,"url":"https://github.com/tarantool/cron-parser","last_synced_at":"2025-04-14T15:11:58.958Z","repository":{"id":33910272,"uuid":"130100594","full_name":"tarantool/cron-parser","owner":"tarantool","description":"Tarantool cron expression parser","archived":false,"fork":false,"pushed_at":"2024-06-25T07:17:11.000Z","size":24,"stargazers_count":7,"open_issues_count":1,"forks_count":5,"subscribers_count":29,"default_branch":"master","last_synced_at":"2025-04-14T15:11:46.400Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tarantool.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-04-18T17:46:26.000Z","updated_at":"2022-08-19T10:20:45.000Z","dependencies_parsed_at":"2022-08-07T23:30:38.601Z","dependency_job_id":"4547c195-5aec-4dfa-9cee-656d7bcb7b45","html_url":"https://github.com/tarantool/cron-parser","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarantool%2Fcron-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarantool%2Fcron-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarantool%2Fcron-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarantool%2Fcron-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tarantool","download_url":"https://codeload.github.com/tarantool/cron-parser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248904638,"owners_count":21180835,"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-16T04:27:29.578Z","updated_at":"2025-04-14T15:11:58.919Z","avatar_url":"https://github.com/tarantool.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cron Parser Lua Wrapper\n\ncron-parser is a Lua wrapper of ccronexpr C library. It parses a cron-format schedule and calculates the nearest\nevent date.\n\n# Installation\n\n```\ntt rocks install cron-parser\n```\n\n# Example\n\n````\nlocal cron = require('cron')\n\nlocal expr, err = cron.parse('0 */15 * * * *')\nif not expr then\n    print('Error: '..err)\nend\n\nlocal ts = cron.next(expr)\n\nprint(os.date('%Y-%m-%d %H:%M:%S', ts))\n````\n\n# References\n\nccronexpr library: https://github.com/staticlibs/ccronexpr\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftarantool%2Fcron-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftarantool%2Fcron-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftarantool%2Fcron-parser/lists"}