only run this on the app server #39

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
1 participant

Made a mistake. We need this to deploy with Capistrano.

https://github.com/javan/whenever

Here are the basic rules:

If a server's role isn't listed in whenever_roles, it will never have jobs added to its crontab.
If a server's role is listed in the whenever_roles, then it will have all jobs added to its crontab that either list that role in their :roles arg or that don't have a :roles arg.
If a job has a :roles arg but that role isn't in the whenever_roles list, that job will not be deployed to any server.

@atomical atomical closed this Mar 27, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment