I don't use cap/Jenkins for this but I do use it to do deploys. 

I prefer using resque or delayed_jobs for Ruby apps. I'm sure other languages 
have similar async frameworks. 

On Mar 1, 2013, at 12:24 PM, Serdar Sahin <[email protected]> wrote:

> Hi,
> 
> We have number of long running cron jobs and need to execute these jobs 
> locally in the server, as our LB timeouts them. For other jobs we use HTTP 
> based jobs and manage them in the jenkins.
> 
> Since we also want to manage these jobs in the Jenkins for debugging and 
> management purposes and provide HA for these jobs, we would like to utilise 
> capistrano's invoke command to choose one of the running servers and execute 
> the command locally. 
> 
> Is there any easy way to choose one of the web servers and try to invoke 
> command only in that server, and if that fails move to the second one, up 
> until the hard limit we define. (e.g. after 5 servers it should fail)
> 
> Thanks in advance,
> 
> 
> 
> -- 
> -- 
> * You received this message because you are subscribed to the Google Groups 
> "Capistrano" group.
> * To post to this group, send email to [email protected]
> * To unsubscribe from this group, send email to 
> [email protected] For more options, visit this group at 
> http://groups.google.com/group/capistrano?hl=en
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Capistrano" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  

-- 
-- 
* You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to 
[email protected] For more options, visit this group at 
http://groups.google.com/group/capistrano?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to