• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Run a program during a certain interval, randomly?

MitzEclipse

Senior member
Hi,

I am trying to figure out how to run this batch file during the day between the hours of 9-4p , on the weekdays.

Task Scheduler lets you schedule tasks, but does not allow you to randomize within an interval of time.

Anyone have any suggestions? If I need to download a 3rd party app - free would be best.

Thanks
 
I would probably just make task scheduler run the program every hour and have the program decide if it has run already today and if not if it should run now with some random function.
 
what do you mean? create a separate task for every hour of the 24-hour time period? then have it execute? THat would always runthe first hour, and none else.??
 
No, I mean have the scheduled program decide whether it's run already, if not randomly decide if it should run now. It means the batched program is more complicated (not even sure if it's possible with Windows batch files) but it would work with no 3rd party software.
 
I don't understand. the scheduled program is just a batch file running a backup process. how can it know whether or not it's already been ran?
 
Back
Top