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
right now it follows this way https://crontab.guru/ but documentation is different
Tested on Rails 6+
The text was updated successfully, but these errors were encountered:
I guess it should be 6 *:
regular crontab (5 *) + 1 * for seconds
Sorry, something went wrong.
You can use fugit gem to test the notations, it's used behind the scenes by rufus
fugit
[1] pry(main)> Fugit.parse('0 * * * * *') => #<Fugit::Cron:0x0000000139d6de38 @cron_s=nil, @hours=nil, @minutes=nil, @monthdays=nil, @months=nil, @original="0 * * * * *", @seconds=[0], @timezone=nil, @weekdays=nil, @zone=nil>
For my case it was confirmed, that 5 symbols should be used for cron expressions in sidekiq.yml. We needed to perform job every Monday at 12:00
sidekiq.yml
Monday at 12:00
Fugit.parse('0 12 * * 1 *') => #<Fugit::Cron:0x00000001100139c8 @cron_s=nil, @day_and=nil, @hours=nil, # wrong @minutes=[12], @monthdays=nil, @months=[1], @original="0 12 * * 1 *", @seconds=[0], @timezone=nil, @weekdays=nil, @zone=nil>
Fugit.parse('0 12 * * 1') => #<Fugit::Cron:0x0000000115e9f780 @cron_s=nil, @day_and=nil, @hours=[12], @minutes=[0], @monthdays=nil, @months=nil, @original="0 12 * * 1", @seconds=[0], @timezone=nil, @weekdays=[[1]], @zone=nil>
No branches or pull requests
right now it follows this way https://crontab.guru/ but documentation is different
Tested on Rails 6+
The text was updated successfully, but these errors were encountered: