Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Hangfire / asp.net sample

Posted on 2016-10-14
3
Medium Priority
?
110 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 84

Accepted Solution

by:
David Johnson, CD, MVP earned 2000 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
 
LVL 1

Author Comment

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

Author Comment

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

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

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…
Hello there! As a developer I have modified and refactored the unit tests which was written by fellow developers in the past. On the course, I have gone through various misconceptions and technical challenges when it comes to implementation. I would…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
How can you see what you are working on when you want to see it while you to save a copy? Add a "Save As" icon to the Quick Access Toolbar, or QAT. That way, when you save a copy of a query, form, report, or other object you are modifying, you…
Suggested Courses

578 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