Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run a job once at a certain datetime? #72

Open
t56k opened this issue Dec 4, 2017 · 0 comments
Open

Run a job once at a certain datetime? #72

t56k opened this issue Dec 4, 2017 · 0 comments

Comments

@t56k
Copy link

t56k commented 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 up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant