Have a look at this post Scheduled function - Task or Agent?
There is some sample code, plus some good comments related (Not the httpoison part)
Have a look at this post Scheduled function - Task or Agent?
There is some sample code, plus some good comments related (Not the httpoison part)