Timer vs Scheduler
Jan 20, 2016
11:08 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Jan 20, 2016
11:08 AM
Timer vs Scheduler
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) ?
Labels:
- Labels:
-
Best Practices
3 REPLIES 3
Jan 20, 2016
05:21 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Jan 20, 2016
05:21 PM
Hi,
I think the Timer is simpler to set up than CRON string of Scheduler
Mar 27, 2017
02:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Mar 27, 2017
02:24 AM
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.
Mar 27, 2017
08:13 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
