I had a function which emit a node in 15 min interval.Now if the node is fire from two browser the function is excited two times.while i want to get it execute only one at a time,no matter from how many client machine it get fried.I am using node.js and socket.io.is there is any way to do that.
server.js
socket.on('autobid',function(){
console.log('autobidcalltest');//get prints two time if fired from 2 browser
});