Instantly share code, notes, and snippets.

@dcomartin /tasks.cs
Last active Apr 26, 2016

Embed
What would you like to do?
BackgroundJob.Schedule(() => Console.WriteLine("Hello, world"), TimeSpan.FromDays(1));
RecurringJob.AddOrUpdate("MyJobId", () => Console.Write("Powerful!"), "0,15,30,45 * * * *");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment