4

Versions:

Ruby 2.3.1 
Rails 4.2.4 
Whenever 0.9.7

Our configuration:

Source code deployed on NFS.

I am able to deploy my application on NFS successfully. Both EC2 instances are mounted on NFS, so both server points to same code. All working fine.

The problem is, as i am deploying on NFS, capistrano-whenvever writes/updates cron on NFS, where no crone is executed as its simple file server.

I would like to write cron jobs on EC2 instance1 or EC2 instance2.

I have gone through whenever gem have cronjob on only one machine?, but didn't succeed.

Any help would be appreciated.

Hasmukh Rathod
  • 1,108
  • 1
  • 14
  • 20

1 Answers1

1

cron update in multiple servers is possible,

Here's a link! please refer this link