How can i build a random delayed trigger loop?

also posted here HTTP GET request for data and post to website