Skip to content

Capistrano deploy, sporadic duplicate cronjob entries #734

@giulioprovasi

Description

@giulioprovasi

Hello,

I am maintaining an application using whenever and, sometimes during deploy with capistrano, I end up with a crontab with duplicates entries, is this a known issue ? I found nothing on the tracker.

Here are the capistrano logs about update_crontab:

02:13 whenever:update_crontab
      01 /usr/local/rvm/bin/rvm 2.2.2@app do bundle exec whenever --update-crontab app --set environment=production --roles=worker
      01 *** schedule.rb, cron loaded
      01 [write] crontab file updated
    ✔ 01 app@xxx 1.295s

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions