% Main script to start operational csm forecasts
% create a timer object to start the computation once every day

starttime = datenum(strcat(datestr(datenum(now+1),'yyyymmdd'),'0600'),'yyyymmddHHMM');

timer_csm = timer('TimerFcn'      ,'run_csm','Period'       , 86400      , ...
                  'TasksToExecute',365      ,'ExecutionMode','Fixeddelay');

startat (timer_csm,starttime)
