DEV Community

loading...

c# Task Runner Or cron job?

#c
fadisowan profile image Fadi Sowan ・1 min read

Hello, I have c# web project i need to run in background in task scheduler or how i can switch my project to webservice

Discussion (2)

Collapse
dariojavierrick profile image
Dario Javier Rick

There are many ways to do that, i suggest you to think first about the whole architecture of the system. Maybe you should create an independent application only for cron jobs, instead of just adding "cron code" in your current web application.
Eather way, i suggest you to take a look at hangfire.io/

Collapse
arsam31 profile image
Hafiz Arsam Rahmaan

yes hangfire is the best option

Forem Open with the Forem app