troubleshooting Question

DOS batch file has to run hourly, except on weekends.

Avatar of tedsini
tedsini asked on
Microsoft DOS
2 Comments1 Solution915 ViewsLast Modified:
I need to run a DOS batch file hourly, except on weekends.  I think I can use the DOS SLEEP command to run it hourly (SLEEP 3600), but this isn't a very elegant solution and it doesn't stop on the weekends.  I could always stop it manually, but can anyone suggest a better way to approach this problem?  By the way, the batch file has to pull some information from a database and ftp it to another site.  My OS is XP Pro. Thanks for your input!
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 2 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros