By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,573 Members | 904 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,573 IT Pros & Developers. It's quick & easy.

Q: "Simple" tick problem.

P: n/a
Hi!

I need help with a solution.

I want a System.Timers.Timer to timeout everyday at 09:00.
I store the time in a string in a config file.

When the service is executed i stop the timer and execute the work.

After execution, i want to set the timer to be executed at 09.00 again.

Any hints tips, greatly appreciated.

Regards
Martin
Jan 30 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Sounds like the Task Scheduler is better suited to this task.

On Jan 30, 10:13 am, "Martin Arvidsson, Visual Systems AB"
<martin.arvids...@vsab.netwrote:
Hi!

I need help with a solution.

I want a System.Timers.Timer to timeout everyday at 09:00.
I store the time in a string in a config file.

When the service is executed i stop the timer and execute the work.

After execution, i want to set the timer to be executed at 09.00 again.

Any hints tips, greatly appreciated.

Regards
Martin
Jan 30 '07 #2

P: n/a
What you describe is a scheduler. Is there any reason you cannot use
standard Windows Task Scheduler?

"Martin Arvidsson, Visual Systems AB" <ma**************@vsab.netha scritto
nel messaggio news:%2****************@TK2MSFTNGP03.phx.gbl...
Hi!

I need help with a solution.

I want a System.Timers.Timer to timeout everyday at 09:00.
I store the time in a string in a config file.

When the service is executed i stop the timer and execute the work.

After execution, i want to set the timer to be executed at 09.00 again.

Any hints tips, greatly appreciated.

Regards
Martin

Jan 30 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.