Exemplo n.º 1
0
 public CronJob(string schedule, ThreadStart thread_start)
 {
     _cron_schedule = new CronSchedule(schedule);
     _thread_start = thread_start;
     _thread = new Thread(thread_start);
 }
Exemplo n.º 2
0
 public CronJob(string schedule, ThreadStart thread_start)
 {
     _cron_schedule = new CronSchedule(schedule);
     _thread_start  = thread_start;
     _thread        = new Thread(thread_start);
 }