run an action every 30 seconds

michalkraus nginx-forum at
Tue Feb 8 13:37:19 MSK 2011

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

Thanks in advance for your ideas,

Posted at Nginx Forum:,173142,173142#msg-173142

More information about the nginx mailing list