Αποστολή με SMS: Stochastic Control in Discrete and Continuous Time