Function schedule

Source
pub async fn schedule<'e>(
    db: impl PgExecutor<'e>,
    task: &impl Scheduler,
    at: DateTime<Utc>,
) -> Result<Uuid>
Expand description

Schedules a task to run at a specified time in the future