DEV Community

Fadi Sowan
Fadi Sowan

Posted on

c# Task Runner Or cron job?


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

Top comments (2)

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

arsam31 profile image
Hafiz Arsam Rahmaan

yes hangfire is the best option