Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Hangfire / asp.net sample

Posted on 2016-10-14
3
Medium Priority
?
106 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 83

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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

610 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