Exq.enqueue_at

You're seeing just the function enqueue_at, go back to Exq module for more information.
Link to this function

enqueue_at(pid, queue, time, worker, args)

View Source

Schedule a job to be enqueued at a specific time in the future.

Expected args:

  • pid - PID for Exq Manager or Enqueuer to handle this
  • queue - name of queue to use
  • time - Time to enqueue
  • worker - Worker module to target
  • args - Array of args to send to worker
  • options - job options, for example [max_retries: Integer, jid: String]

If Exq is running in mode: [:enqueuer], then you will need to use the Enqueuer to schedule jobs, for example:

time = Timex.now() |> Timex.shift(days: 8)
Exq.Enqueuer.enqueue_at(Exq.Enqueuer, "default", time, MyWorker, ["foo"])
Link to this function

enqueue_at(pid, queue, time, worker, args, options)

View Source