Link to home
Start Free TrialLog in
Avatar of Charles Baldo
Charles BaldoFlag for United States of America

asked on

Need c# windows service program to execute a batch file at a specific time on winserver 2003

Hi
If someone has a link to a site that will show me how to write a  c# windows service program to execute a  cmd line .bat batch file at a specific time on windows server 2003?

What I have is a simple .bat file that does a xcopy backup for me. Does the job well. I want to execute it every day at 2am. I was thinking of writing a c# windows service to do it. vb is ok as well. If anyone has a better idea I am interetsed as well.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of jgordos
jgordos
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Charles Baldo

ASKER

Thanks both,

In answer to CoyotesIT. Because I didn't think of it Will look into it. Thast some of the exact feed back I was hoping for.   Also I wanted to learn to write a service. This is as much a learning task, hobby task as a business task.

Thanks to both