You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
539 B

11 years ago
  1. using FluentScheduler;
  2. using Sevomin.Models.Helpers.ScheduledTasks;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace Sevomin.Models.Helpers
  9. {
  10. public class SevominRegistry : Registry
  11. {
  12. public SevominRegistry()
  13. {
  14. Schedule<NewApplication>().ToRunEvery(2).Days().At(20, 30);
  15. Schedule<ExpiringJob>().ToRunEvery(1).Days().At(20, 40);
  16. Schedule<NewJob>().ToRunEvery(1).Days().At(20, 50);
  17. }
  18. }
  19. }