Run a job once at a certain datetime? #52

Open
opened 2025-12-29 00:22:00 +01:00 by adam · 0 comments
Owner

Originally created by @t56k on GitHub (Dec 4, 2017).

Can I leverage the :at to be a certain datetime? And how to I get a job to run once?

Crono.perform(PostJob, provider, job).once, at: { Time.now + days.to_i.days }

Thanks.

Originally created by @t56k on GitHub (Dec 4, 2017). Can I leverage the `:at` to be a certain datetime? And how to I get a job to run once? Crono.perform(PostJob, provider, job).once, at: { Time.now + days.to_i.days } Thanks.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/crono#52