Hangfire / asp.net sample

I have been looking for sample code Hangfire / asp.net. All i need is to do below:

Set up timer(1:00 pm PST daily) call sql statement "Select * from tblcontact" in the MS SQL Server database "Contact".
and capture the data and download to new excel sheet to c:\Data\

I can handle the part doing down from sql to excel sheet.

Can anyone show me exactly how it works in asp.net / c#? I already downloaded the HangFire DLL. and I can see the object.

I just need some thing simple to get start. And prefer not to use their template.
LVL 1
ITsolutionWizardAsked:
Who is Participating?
 
David Johnson, CD, MVPConnect With a Mentor OwnerCommented:
use task scheduler to start the process that does what you want or use hangfire to start the cron job
0
 
ITsolutionWizardAuthor Commented:
I need sample codes to start with.
0
 
ITsolutionWizardAuthor Commented:
use hangfire to start the cron job
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.