Scheduled task for alternate saturday
Open
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 8.9k
- Forks
- 715
- PR merge metrics
- No merged PRs in 30d
Description
every '0 1 * * 6#2' do
rake 'prj:task1', output: 'log/task1.log'
end
This leads to error:
gems/whenever-0.10.0/lib/whenever/cron.rb:154:in `parse_as_string': Couldn't parse: 0 1 8-14 (ArgumentError)'
Need a guidance to run a cron on alternate saturdays.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the cron expression from the issue and reading gems/whenever-0.10.0/lib/whenever/cron.rb:154, where parsing fails. Check how Whenever handles the alternate-Saturday expression and document a supported way to schedule it, including the resulting cron syntax and expected behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- devops
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100