my script starts as follows: SET vG.BasePath=; //Clear cache SET vG.SharedBasePath=; //Clear cache SET vG.RootContainer='QDF_ROOT'; SET vG.HomeContainer='6.PSA'; $(Must_Include=lib://$(vG.RootContainer)/$(vG.HomeContainer)/InitLink.qvs);
I created a new task to run the script under the QVF but it fails at must_include line: 5-15 06:53:54 Error: $(MUST_INCLUDE failed: lib://QDF_ROOT/6.PSA/InitLink.qvs 2019-05-15 06:53:54 $(MUST_INCLUDE failed: lib://QDF_ROOT/6.PSA/InitLink.qvs 2019-05-15 06:53:54 Execution Failed 2019-05-15 06:53:54 Execution finished.
but script runs successfully when I reload the script manually kindly advise @Magnus_Berg
My best guess is that the connection you're using isn't globally available for your "sa_scheduler" user. That's why it would work if you're running it manually, but not when scheduled. I'd start there with your connection permissions.