We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Maybe I am missing something but is there a way to run a task only on weekdays? Or some way to exclude Saturday and Sunday at least?
The text was updated successfully, but these errors were encountered:
Hello @zanloy Sorry, there's no way for now, as a temporary solution you can set different jobs for each weekday:
[:monday, :tuesday, :wednesday, :thursday, :friday].each do |week_day| Crono.perform(TestJob).every 1.week, on: week_day end
Sorry, something went wrong.
No branches or pull requests
Maybe I am missing something but is there a way to run a task only on weekdays? Or some way to exclude Saturday and Sunday at least?
The text was updated successfully, but these errors were encountered: