0

I need to retrieve information from a SQL server and insert into a XML doc. The problem is not retrieving the information itself, but I want it to be done automatically e.g. 4 times per hour.

What can I use to automate this process? I'm using C# .NET

2 Answers 2

2

A few options:

1) Schedule a job to execute every 15 minutes in SQL Server

2) Schedule a job to run every 15 minutes using windows task scheduler

3) Write a small service that executes your logic every 15 minutes.

Sign up to request clarification or add additional context in comments.

Comments

1

build a windows service that runs the job every 15 minutes using a timer

1 Comment

If it needs to run every 15 minutes, using a service for that seems like overkill - just have a simple command-line tool and schedule it with Windows Task Scheduler. Debugging a command-line tool is just soo much simpler than a Windows service....

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.