Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the difference between windows task scheduler and hangfire(or Quartz.net)? [closed]

I always need to develop some periodically job. How should I choose between Windows Task Scheduler or Hangfire? What's the difference between Windows Task Scheduler and Hangfire (or Quartz.net)?

like image 210
Farwell_Liu Avatar asked Dec 07 '22 17:12

Farwell_Liu


1 Answers

Windows Task Scheduler sits outside the ASP.NET environment. It can be used to run any type of Windows program. To add Windows Tasks, you need login access to the server.

Hangfire generally runs inside an IIS process (although it can also run in a Console application). The main benefit of Hangfire is that the developer doesn't need login access to the IIS server to create a scheduled task - particularly useful in an IIS environment hosted by a vendor where server access is not available.

like image 109
Wayne Allen Avatar answered Feb 06 '23 08:02

Wayne Allen