• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 113
  • Last Modified:

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.
  • 2
1 Solution
David Johnson, CD, MVPOwnerCommented:
use task scheduler to start the process that does what you want or use hangfire to start the cron job
ITsolutionWizardAuthor Commented:
I need sample codes to start with.
ITsolutionWizardAuthor Commented:
use hangfire to start the cron job
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.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now