I want to run an Oracle query periodically and my idea was to call getUTCTimestamp(0)
for the first query where getUTCTimestamp
is:
function getUTCTimestamp(uint256 delay) payable {
oraclize_query(delay,"WolframAlpha", "Timestamp now");
}
and then inside the callback call getUTCTimestamp(60)
to have a call every 60 seconds. The thing is that the call inside callback is never executed and I imagine that happens because no ether is supplied. Is this correct? Is there any way to achieve what I want?