Quantcast
Channel: Visual C# forum
Viewing all articles
Browse latest Browse all 31927

Windows service to run an .exe file

$
0
0

I have a exe file (generated from a console application) which I need to run on a daily basis; once everyday. this exe is pulling data from a sharepoint list and putting it in an excel. How can I schedule this activity to run daily? Can this be done through Windows service? If yes can anyone provide me with a sample code to do this?

Thanks in advance!

P.S. I can do this through Scheduled tasks, but this is not approved upon. :-(


Viewing all articles
Browse latest Browse all 31927

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>