Hi
I have a sample MKS Korn Shell script, it is working fine when I am executing manually (i.e command prompt) but not when schedule through scheduler.
here is the script, ls command working just fine manual run, so I thought it could be environment varilable so kept same PATH when running manually even that is not helping. Any thoughts are appreciatable
###########################
#!/bin/ksh
export PATH="C:\PROGRA~1\MKSTOO~1\bin;C:\PROGRA~1\MKSTOO~1\bin\X11;C:\PROGRA~1\MKSTOO~1\mksnt;D:\oracle\product\10.2.0\db_1\bin;C:\Program Files\Legato\nsr\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Common Files\MicroStrategy;C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322;D:\Microstrategy\Administrator\Command Manager;D:\Microstrategy\Administrator\enterprise Manager;D:\Microstrategy\Desktop;C:\PROGRA~1\MKSTOO~1\bin;C:\PROGRA~1\MKSTOO~1\bin\X11;C:\PROGRA~1\MKSTOO~1\mksnt;D:\oracle\product\10.2.0\db_1\bin;C:\Program Files\Legato\nsr\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Common Files\MicroStrategy;C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322;"
ls -ltr //Ecapp1/DevShare/chargebacks
echo "----------------------------------------------------------"
exit
##########################