Hi, I'm trying to figure out how to use this feature and it isn't clear to me. I think that it is supposed to let me establish a time to start my macro, and then in stop and reset at/after, I can establish a time for it to stop until the start time comes by again? Do I have this correct? I've been trying to get a macro to run from 6am to 6pm and I am putting 18:00 for the time in stop and reset at/after but it just never does anything?? Thanks for any help. I'm trying to get this working with version 10.
...Brad
stop and reset at/after
Moderators: Dorian (MJT support), JRL
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
What you need to do is first set a start time for the macro. This must be in the future of course. Set a repeat interval. Then set a later time for stop and reset after. Now when the start time comes around the macro will run. It will then repeat at every interval time. When the stop time is met or passed the schedule time will revert back to the original start time.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
Ok, I think I understand the rules now. You must schedule a start time in the future. If I want to run from 6am to 6pm, and I created the script at 11am, I need to schedule my script to start intially at 11:01am. Then, after 6pm, I need to come back to macro scheduler and tell it to start at 6am instead of 11:01am. After that I can leave it alone and it will run from 6am to 6pm?
This would make a good KB article, it always gives me problems and I spend 1-2 hours testing scripts and trying to set them to start at 6am and stop at 6pm.
This would make a good KB article, it always gives me problems and I spend 1-2 hours testing scripts and trying to set them to start at 6am and stop at 6pm.
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
I thought it was common knowledge that time only travels in one direction
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
Well I still couldn't make this work. I must be missing something. I can only get the script to run if I have it "Repeat Continuously". If I have it "Stop and reset at/after" it just doesn't do anything.
Today I used the following settings:
Set the Run When tab to run the script Monday - Friday with a Time of 06:00 and to repeat every minute. I then click the Advanced Options and there I set it to Stop and Reset At/After 18:00. I also told it to "Run Immediately if Schedule was Missed" in the Recovery section.
I clicked OK twice to close windows and then I exited Macro Scheduler and right clicked the system tray icon and choose EXIT. Then I restarted Macro Scheduler. It launched the script upon startup, as I would expect, but then it did not follow the instructions to run every minute?
I still do not understand the rules surrounding the use of the "Stop and reset at/after". In the above scenario, what would you expect to happen? I would expect it to "Recover" and run normally since I told it to do so if the schedule was missed. Thanks again for your help.
...Brad
Today I used the following settings:
Set the Run When tab to run the script Monday - Friday with a Time of 06:00 and to repeat every minute. I then click the Advanced Options and there I set it to Stop and Reset At/After 18:00. I also told it to "Run Immediately if Schedule was Missed" in the Recovery section.
I clicked OK twice to close windows and then I exited Macro Scheduler and right clicked the system tray icon and choose EXIT. Then I restarted Macro Scheduler. It launched the script upon startup, as I would expect, but then it did not follow the instructions to run every minute?
I still do not understand the rules surrounding the use of the "Stop and reset at/after". In the above scenario, what would you expect to happen? I would expect it to "Recover" and run normally since I told it to do so if the schedule was missed. Thanks again for your help.
...Brad
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Disable "Run Immediately if Schedule is missed". This will interrupt the sequence. If you have a repeating macro you do NOT want this option.
WithOUT this option if a schedule is missed while the macro scheduler is not running then when you restart macro scheduler it will set the next run time to the next future time that matches the repeat interval.
E.g. if you set it to start at 0600 and run every 10 minutes and you exit Macro Scheduler at 0609 and restart it at 0611 then it will simply set the next run time to 0620 which is what you want as that is the correct next interval based on the initial start time and repeat interval.
Setting it to run immediately will make it run on startup and halt the repeating because the interval is now wrong.
WithOUT this option if a schedule is missed while the macro scheduler is not running then when you restart macro scheduler it will set the next run time to the next future time that matches the repeat interval.
E.g. if you set it to start at 0600 and run every 10 minutes and you exit Macro Scheduler at 0609 and restart it at 0611 then it will simply set the next run time to 0620 which is what you want as that is the correct next interval based on the initial start time and repeat interval.
Setting it to run immediately will make it run on startup and halt the repeating because the interval is now wrong.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?