Kronos

5

Click here to load reader

Transcript of Kronos

Page 1: Kronos

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

Page 2: Kronos

CronKen Thompson

Page 3: Kronos

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());

Page 4: Kronos

KronosOpen source DSL

Page 5: Kronos

Thank you for your attention, questions?

https://github.com/milossimic/Kronos/tree/readme