{"repo":"adhocore/gronx","free":true,"listed":false,"github":"https://github.com/adhocore/gronx","clone":"git clone https://github.com/adhocore/gronx.git","description":"Lightweight, fast and dependency-free Cron expression parser (due checker, next/prev due date finder), task runner, job scheduler and/or daemon for Golang (tested on v1.13+) and standalone usage. If you are bold, use it to replace crontab entirely.","language":"Go","stars":513,"topics":["golang","go","crontab","cronjob","cron-expression","parser","cron-parser","cron-expression-parser","adhocore","scheduler"],"license":"MIT","category":"workflow-automation","readme_excerpt":"adhocore/gronx gronx is Golang cron expression parser ported from adhocore/cron-expr with task runner and daemon that supports crontab like task list file. Use it programatically in Golang or as standalone binary instead of crond. If that's not enough, you can use gronx to find the next ( NextTick() ) or previous ( PrevTick() ) run time of an expression from any arbitrary point of time. - Zero dependency. - Very fast because it bails early in case a segment doesn't match. - Built in crontab like daemon. - Supports time granularity of Seconds. Find gronx in pkg.go.dev. Installation As a Go library Using Bash install script For installing the tasker command-line tool, you can use the bash installation script: For non-interactive installation (useful in CI/CD environments): The script supports several options including custom installation directory, version selection, and platform/architecture overrides. Use --help to see all available options: Usage Validity can be checked without instantiation: Batch Due Check If you have multiple cron expressions to check due on same reference time use BatchDue() : Next Tick To find out when is the cron due next (in near future): Prev Tick To find out when was the cron due previously (in near past): The working of PrevTick () and NextTick () are mostly the same except the direction. They differ in lookback or lookahead. Standalone Daemon In a more practical level, you would use this tool to manage and invoke jobs in app itself and not mess ar","default_branch":null,"files":null,"tree":[],"storefront":"/r/adhocore","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/adhocore/gronx/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}