Forum Discussion
nishantranjan
2 days agoOccasional Contributor
ok, So i got it working by using
var wshShell = Sys.OleObject("WScript.Shell");
wshShell.Run('"' + appPath + '"');
Now my script is working fine from manual run, command prompt run or task scheduler run
But now i am facing another issue.
If my system is logged off, I re-login again then my task schedular is having same previous issue.
Now if i run my script manually from TaskComplete before my next task scheduler run then next time task scheduler runs script and no issue occurs.
Why this manual run issue is occurring on re-login to system
rraghvani
Champion Level 3
2 days agoWithout seeing any code or configurations, it becomes a guessing game!