is there an open library for validating cron job expression?

This page summarizes the projects mentioned and recommended in the original post on /r/golang

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • gronx

    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.

  • Check https://github.com/adhocore/gronx, there are more cron libraries, check if they have something like IsValid or MustParse.

  • validator

    :100:Go Struct and Field validation, including Cross Field, Cross Struct, Map, Slice and Array diving

  • or if you want to use a strong validator (if you have other validation in the app), you could check « validator » module (https://github.com/go-playground/validator) and register a custom function.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • cron

    a cron library for go

  • This will print "Valid cron expression: */20 * * * *" to the console. You can find more information about this library, including installation instructions, on its GitHub page: https://github.com/robfig/cron

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • API completa em Golang - Parte 3

    2 projects | dev.to | 16 Dec 2023
  • Request Validations in Go REST API

    6 projects | /r/golang | 21 May 2023
  • Best practices of validation on web apps?

    3 projects | /r/golang | 10 Feb 2023
  • Proper validation package suggestion

    5 projects | /r/golang | 7 Dec 2022
  • How do you validate your structures?

    5 projects | /r/golang | 31 May 2021