Skip to content

Instantly share code, notes, and snippets.

@igorkulman
Created June 24, 2013 11:21
Show Gist options
  • Save igorkulman/5849356 to your computer and use it in GitHub Desktop.
Save igorkulman/5849356 to your computer and use it in GitHub Desktop.
protected override void OnInvoke(ScheduledTask task)
{
ScheduledActionService.LaunchForTest(task.Name, TimeSpan.FromSeconds(60));
var toast = new ShellToast {Title = DateTime.Now.ToShortTimeString(), Content = "Task Running"};
toast.Show();
NotifyComplete();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment