?
Solved

Creating a process

Posted on 2004-04-28
4
Medium Priority
?
193 Views
Last Modified: 2010-04-15
Hi,

 I need to write a program which shud run continuously, at some specific time it shud start another process to do some database operations. I'm new to C#...Any suggestions.. I tried some program which throuws stackoverflowexception..

Thanks in advance,
Guru
0
Comment
Question by:ggurus
[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
4 Comments
 
LVL 6

Accepted Solution

by:
zulu_11 earned 150 total points
ID: 10946964
I believe the answer would be a Windows service with a timer control  which would activate the DB process that you want to start after the pre-defined time..

Write the code that you want to run in the Timer_elapsed function ..this would solve your problem..
You'll have a process running in the form of a windows service which would run the desired process as and when the time elapses in the timer object..

Zulu
0
 
LVL 10

Assisted Solution

by:ptmcomp
ptmcomp earned 150 total points
ID: 10962863
Use the "Taks Scheduler" which you can find in the Control Panel or Windows folder. It's also used internally by windows for SqlServer Jobs, Backup and so on.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Article by: Ivo
C# And Nullable Types Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses

771 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