I have a C# console application which contains the logic to invoke an externally hosted web service and gets some data and updates the database. This task needs to be executed on weekly basis. In order to invoke the console application, I am using the Task Scheduler services (windows system).
After going through some articles regarding other alternatives available, I came across HangFire.
I am interested to leverage Hangfire as it gives me a good way to use its dashboard to check the status of the jobs that are executed on the background.
Now if I want to use Hangfire to invoke the console application on weekly basis instead of the Task Scheduler, how to invoke the console application logic using Hangfire and how to deploy it on servers.
Can you please help me with some code samples.