View Source Lightning.Workflows.Query (Lightning v2.10.4)
Query module for finding Jobs.
Summary
Functions
Returns active jobs with their cron triggers for use in the cron scheduling service.
Returns all jobs accessible to a user, via their projects or all jobs in a given project.
Functions
@spec enabled_cron_jobs_by_edge() :: Ecto.Queryable.t()
Returns active jobs with their cron triggers for use in the cron scheduling service.
@spec jobs_for(Lightning.Accounts.User.t()) :: Ecto.Queryable.t()
@spec jobs_for(Lightning.Projects.Project.t()) :: Ecto.Queryable.t()
Returns all jobs accessible to a user, via their projects or all jobs in a given project.