Job defines a single registered cron job.

Hierarchy

  • Job

Methods

  • Expression returns the plain cron job schedule expression.

    Returns string

  • Id returns the cron job id.

    Returns string

  • MarshalJSON implements [json.Marshaler] and export the current jobs data into valid JSON.

    Returns string | number[]

  • Run runs the cron job function.

    Returns void

Generated using TypeDoc