Welcome! Log In Create A New Profile

Advanced

Re: run an action every 30 seconds

February 08, 2011 06:35AM
Thanks for your options

> 3) Use a heartbeat solution - http://linux-ha.org/wiki/Main_Page

I have API between the Nginx and the second (control) server. I use RPC interface. I need just send a RPC request (with status infrmation) to the control server. I think that heartbeat is too robust.

> 4) Use cron to start a script which does the test, sleeps for 30s, then does
> the test again, then dies (to be restarted by cron
> at the next minute)

This option seems to be the best but is any possibility the nginx to do it in its own?
Subject Author Posted

run an action every 30 seconds

michalkraus February 08, 2011 05:37AM

Re: run an action every 30 seconds

baalchina February 08, 2011 06:02AM

Re: run an action every 30 seconds

Gregory Agerba February 08, 2011 06:08AM

Re: run an action every 30 seconds

Mark Rogers February 08, 2011 06:14AM

Re: run an action every 30 seconds

michalkraus February 08, 2011 06:35AM

Re: run an action every 30 seconds

kindy February 08, 2011 07:06AM

Re: run an action every 30 seconds

Gregory Agerba February 08, 2011 06:10AM

Re: run an action every 30 seconds

António P. P. Almeida February 08, 2011 06:28AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 166
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready