crontab doesn't update after cap deploy
Open
Nobody has claimed this yet.
awaiting-feedback
capistrano
usage-question
- Dominant language
- Ruby
- Stars
- 8.9k
- Forks
- 715
- PR merge metrics
- No merged PRs in 30d
Description
Hi my application users capristone for deployement. But when i do a deploy the crontab doesnt get updated. However if i do whenever --update-crontab it does get updated.
this is how my deploy.rb looks like
set :whenever_command, "bundle exec whenever"
require 'whenever/capistrano'
any idea why it is not working?
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 with the deploy.rb configuration, especially set :whenever_command and require 'whenever/capistrano', then compare the cap deploy behavior with the working whenever --update-crontab command. Done means a cap deploy updates the application's crontab without requiring a separate manual command.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100