OK, ive tried and tried and its now driving me mad....
i have a bat file i want executing between 8am & 6pm Mon-Fri every 30 mins. i can set this up within the scheduler by using the advanced tab and setting the until time. From here the schedule reads “Every 30 mins from 8:00 for 630 minutes every Mon,Tue,Wed,Thu,Fri of every week starting 31/01/2007”.
My problem is that I have to create the requests on the fly. Found schtasks and Im 90% of the way there but I cannot find a way of stopping the script at 6pm so far my call reads
anyone any ideas… please…
TA
i have a bat file i want executing between 8am & 6pm Mon-Fri every 30 mins. i can set this up within the scheduler by using the advanced tab and setting the until time. From here the schedule reads “Every 30 mins from 8:00 for 630 minutes every Mon,Tue,Wed,Thu,Fri of every week starting 31/01/2007”.
My problem is that I have to create the requests on the fly. Found schtasks and Im 90% of the way there but I cannot find a way of stopping the script at 6pm so far my call reads
Code:
schtasks /create /tn CRON1 /tr C:\my_cron.bat /sc WEEKLY /d MON,TUE,WED,THU,FRI /st 08:00:00 /et 16:30:00 /ru usr /rp pwd
anyone any ideas… please…
TA