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 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-api stop > && service ovrc-dashboard-api start" would probably do the trick. > > Richard. > > On Thu, 17 Dec 2015 at 15:11 GBANE FETIGUE <[email protected] <javascript:>> > wrote: > >> 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 (nodejs app) hourly by >> running a script . >> >> Thanks >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Jenkins Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jenkinsci-users/a567c634-213c-4739-9363-479d77a16414%40googlegroups.com >> >> <https://groups.google.com/d/msgid/jenkinsci-users/a567c634-213c-4739-9363-479d77a16414%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/b27e4b5b-e01c-40f9-abf5-c64ce5e2d8fc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
