Re: restart a nodejs app

2015-12-17 Thread GBANE FETIGUE
Thanks for responding me I am using ubuntu 12.04 I just to have jenkins take care of that On Wednesday, December 16, 2015 at 11:10:26 PM UTC-5, Richard Bywater wrote: > > I'm interested in why you would use Jenkins when cron would seem to be a > better fit? > > Aside from that, you haven't said

Re: restart a nodejs app

2015-12-16 Thread Richard Bywater
I'm interested in why you would use Jenkins when cron would seem to be a better fit? Aside from that, you haven't said what OS/distro you are dealing with but assuming that ovrc-dashboard-api follows the standard pattern then using cron to run a shell script something like "service ovrc-dashboard-

restart a nodejs app

2015-12-16 Thread GBANE FETIGUE
Hey Folks, I am trying to create a jenkins job to restart a nodeJs API that I am having on my server( /etc/init/ovrc-dashoard-api). that's job need to be running the job every hour(@hourly). again the app is a nodejs app and is located on a server. all i need is an idea how to restart the API (n