I would like to create a ScheduledTask that evaluates at the same time everyday. Such as, evaluate function at 1:00 am everyday. The "Daily" timespec in ScheduledTask doesn't allow me to control the time when function evaluates everyday.
I have tried, as an example, to print something whenever the second of the day is 5.
SessionSubmit[ScheduledTask[Print["1"], DateObject[{_, _, _, _, _, 5}]]]
I get error
SessionSubmit::sched: $Failed is not an association containing recognized scheduling time specification.
Either the pattern is wrong or I am approaching this in the wrong way?
Tasks`InterpretTimeSpec
. However, this feature is not included in all 11 valid definitions of it... So probably this is a feature that's not yet implemented or missed out. #facepalm# $\endgroup$ – Wjx Mar 31 '18 at 12:52