This question already has an answer here:
I am new to Ehterum and Blockcain. I am using ehtereum smart contracts api web3.js for my front-end interaction. I am using solidity for writing contract using truffle. I want to automate the transaction on baisis of some condition such as time interval. I have posted this question on other forums such as gitter community and got answer that I can use Oraclize or Reality keys to achieve this? So I was wondering why It is called smart-contract if it is not smart enough to even execute an automated transaction? Can someone please explain that is it true that we cannot write such automated contract in ethereum or maybe I have wrong understanding of things?