Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

have report run at specified hour

Tags:

c#

asp.net

I had a friend ask me about writing a program that would allow data entry and then run and display a report each day at 11:00 am.

What is the best/easiest way to make the report run at a specified hour?

He wants something that can run on a standalone (laptop) computer running windows xp. Most of my experience is with asp.net and c#.

like image 233
Joshua Slocum Avatar asked Dec 29 '22 08:12

Joshua Slocum


2 Answers

Windows Task Scheduler?

That said, in an ideal world you'll store the data and run the reporting on a server rather than a laptop. (What happens if the laptop is off-site/turned off, etc.)

like image 193
John Parker Avatar answered Dec 30 '22 20:12

John Parker


The Windows Task Scheduler can be used to schedule most anything.

http://msdn.microsoft.com/en-us/library/aa383614%28VS.85%29.aspx

Scheduling in Windows XP

http://support.microsoft.com/kb/308569

like image 31
Edward Leno Avatar answered Dec 30 '22 22:12

Edward Leno