Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8886491
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T21:34:18+00:00 2026-06-14T21:34:18+00:00

I use whenever in my rails apps and deploy it with capistrano. The trouble

  • 0

I use whenever in my rails apps and deploy it with capistrano.

The trouble is that since I use it only for one project there’s no problem, but when I use whenever for more projects on the same server, everytime I deploy my project I destroy and recreate the cron file. I need that every project update it or append new instruction, to coexists on the same server.

I simply deploy with

deploy.rb

set :whenever_command, "bundle exec whenever"
require "whenever/capistrano"
...
after "deploy:create_symlink", "deploy:update_crontab"
....

Someone can teach me how can I do?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T21:34:19+00:00Added an answer on June 14, 2026 at 9:34 pm

    You’ll want to namespace your projects or they’ll overwrite each other when you deploy:

    set :whenever_environment, defer { stage }
    set :whenever_identifier, defer { "#{application}_#{stage}" }
    require "whenever/capistrano"
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been trying to use the 'twitter_oauth' gem with my rails application but whenever
I am using Capistrano to deploy my Rails application. whenever I deploy, changes would
I want to use the ruby-units with a rails 3 project, but it seems
Whenever I use WCF, I always try to make immutable classes that end up
Whenever I try to use the Rails script/generate or script/install command I get this
Whenever I run bundle install (or bundle update ) on my Rails project I
I use whenever to call rake tasks throughout the day, but each task launches
I'm trying to use RSpec to test a Rails 3.1rc4 project. I want to
I am using Blueprint CSS with Rails. Whenever I use a a tag with
I'm trying to deploy my Rails application using Capistrano. My deploy.rb file looks like

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.