javan / javan/whenever

crontab doesn't update after cap deploy

Open
#567 10 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.