Solved

Hangfire / asp.net sample

Posted on 2016-10-14
3
56 Views
Last Modified: 2016-11-15
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.
0
Comment
Question by:ITsolutionWizard
  • 2
3 Comments
 
LVL 79

Accepted Solution

by:
David Johnson, CD, MVP earned 500 total points
ID: 41844354
use task scheduler to start the process that does what you want or use hangfire to start the cron job
0
 

Author Comment

by:ITsolutionWizard
ID: 41844371
I need sample codes to start with.
0
 

Author Comment

by:ITsolutionWizard
ID: 41844372
use hangfire to start the cron job
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question