I run this script from my PC every day to move AS/400 PF to Excel files on a PC server. We use the Microsoft scheduler on local PC and it works fine. Today we tried to move script to an NT server and it now it has started to prompt for username/password each time. Any ideas?
[note: password is OK and it will work if I run it manually and type in username/password.]
[note: password is OK and it will work if I run it manually and type in username/password.]
PHP Code:
rem use cwblogon to force a username/password temporarily into cache so script can run unattended...
C:\Progra~1\IBM\Client~1\cwblogon.exe server /U username /P password
rem download files as Excel .xls
C:\Progra~1\IBM\Client~1\RTOPCB.exe F598019.dtf
C:\Progra~1\IBM\Client~1\RTOPCB F598119.dtf
rem write log entry
echo End Detail file........ %date% %time% >> history.log
echo ------------- >> history.log
Comment