Kronos : A DSL for scheduled tasks based on textX
Miloš Simić*, Novak Boškov*, Aleksandar Kaplar*, Igor Dejanović*
*Faculty of Technical Sciences, University of Novi Sad
CronKen Thompson
Language dependent
using Schyntax;
var schtick = new Schtick();
// setup an exception handler so we know when tasks blow up schtick.OnTaskException += (task, exception) => LogException(ex);
// add a task which will call DoSomeTask every hour at 15 minutes past the hour schtick.AddTask("unique-task-name", "min(15)", (task, timeIntendedToRun) => DoSomeTask());
KronosOpen source DSL
Thank you for your attention, questions?
https://github.com/milossimic/Kronos/tree/readme
Top Related