Run a ping command as daemon