Drizzle.Record (drizzle v0.1.0)

Copy Markdown

Represents a job record to be executed by Drizzle.

Summary

Types

t()

@type t() :: %Drizzle.Record{
  args: [any()],
  crontab: String.t(),
  function: atom(),
  module: module(),
  time_zone: String.t() | :utc
}

Fields

  • :crontab – The cron expression defining the job's schedule.
  • :time_zone – The time zone for the cron expression (e.g., "UTC" or "Europe/Berlin").
  • :module – The module containing the function to execute.
  • :function – The function to call in the module (as an atom).
  • :args – A list of arguments to pass to the function.