I have seen some daily strategies on Strategy Monitor not running and those "Next Run" are set to the time in the past. Is this expected behavior?
I know Strategy Monitor updates "Next Run" time when the strategy is activated. However, I didn't need to manually activate the strategies when I restored StrategyMonitorConfiguration.xml from backup because those strategies have been activated already. Although those strategies were activated, the "Next Run" were set to the time in the past.
Interestingly, some strategies with "Next Run" time in the past ran without any issue. I cannot figure out how Strategy Monitor decides whether or not to skip the strategies those "Next Run" time set in the past.
Size:
Color:
1. Have you tried to re-Activate those Strategies (disable / enable)?
2. Upon that, what does the log show?
Size:
Color:
1. Once I re-activate those Strategies, Strategy Monitor updates "Next Run" time therefore it fixes the problem.
2. If the log file is wlp.txt, there is nothing logged at around that time.
Size:
Color:
Glad that fixes it for you. If so no further action is required.
P.S. The log is the SM item log (right click > Enable logging for selected items). I think collecting it is not required anymore.
Size:
Color:
QUOTE:
Glad that fixes it for you. If so no further action is required.
Does that mean Strategy Monitor requires the "Next Run" time to be set in the future in order to run at the next run time?
If you don't run WLP for couple of days, then the strategies on Strategy Monitor may not run unless you re-activate them and update "Next Run" time in the future?
Size:
Color:
An Activated Strategy with missed Next Run (in the past) will re-run once WLP is restarted (just as expected). At least this is my experience.
Size:
Color:
QUOTE:
An Activated Strategy with missed Next Run (in the past) will re-run once WLP is restarted (just as expected).
Yes, that's what I expected.
However, apparently there are cases where Strategy Monitor skips Strategy with missed Next Run (in the past).
When the problem happens, Next Run never ever updates even if WLP is restarted unless you update Next Run by reactivating the Strategy.
Size:
Color:
I see. Maybe it had something to do with restoring StrategyMonitorConfiguration.xml from backup and not re-activating. Having the Strategy item log with a reproducible procedure might help in troubleshooting.
Size:
Color: