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 <beme...@gmail.com> 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 jenkinsci-users+unsubscr...@googlegroups.com. > 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 jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAMui946-pxL1GWTN38KXbfRsjGPaNkHwZHSw0UU%3DHoXmGmpmoA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.