Welcome! Log In Create A New Profile

Advanced

run an action every 30 seconds

February 08, 2011 05:37AM
Hello,
I would like my Nginx server to run every 30 seconds a service job. This job will just send a message to another server that the nginx is running and OK. Does anybody know how to do it?
I have just one idea - to write a module that will send the OK message to another server. Then cron will run each 1 minute (unfortunately 30 seconds is not possible) a script that will send a request to the module.

Thanks in advance for your ideas,
Michal
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: 297
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