Skip to main content
1-Visitor
January 20, 2016
Question

Timer vs Scheduler

  • January 20, 2016
  • 3 replies
  • 5206 views

Hello

I was just wondering what advantages a Timer holds against a Scheduler.

The Scheduler seems to do everything a Timer can and much more, but i'm sure the Timer exist for a good reason !

So, what are those reasons (besides being able to run faster than 10 seconds) ?

3 replies

1-Visitor
January 20, 2016

Hi,

I think the Timer is simpler to set up than CRON string of Scheduler

1-Visitor
March 27, 2017

Hello,

Scheduler uses timer and schedule jobs. Timer you can think of alarm clock and scheduler takes jobs and schedule accordingly based on cron expressions.

Also, as in case of scheduler, cron is driven by operation system configuration and can be differentiate based on different users.

At last, it depends upon your use case whether you should go for Timer or scheduler.

1-Visitor
March 27, 2017