Hello Everybody, I have small problem, but I couldn't resolve it myself. There is batch file to backup one of the Windows servers. From command line on the server I am able to run batch as:
"C:\Inetpub\ftproot\BKME KOC FTP\Usr\root\CBMR\scripts\Daily.bat" >"C:\Inetpub\ftproot\BKME KOC FTP\Usr\root\CBMR\logs\TSM_Daily.log" I have found the way how to put the same in Objects: upd sch nt daily_ftpsrv objects=' "C:\Inetpub\ftproot\BKME KOC FTP\Usr\root\CBMR\scripts\Daily.bat" \>"C:\Inetpub\ftproot\BKME KOC FTP\Usr\root\CBMR\logs\TSM_Daily.log"' and I have: ANS8000I Server command: 'q sched nt daily_ftpsrv f=d' Policy Domain Name: NT Schedule Name: DAILY_FTPSRV Description: Daily backup for FTPSRV Action: Command Options: Objects: "C:\Inetpub\ftproot\BKME KOC FTP\Usr\root\CBMR\scripts\Daily.bat" >"C:\Inetpub\ftproot\BKME KOC FTP\Usr\root\CBMR\logs\TSM_Daily.log" Priority: 5 Start Date/Time: 10/02/2009 11:45:00 Duration: 3 Hour(s) Schedule Style: Classic Period: 1 Day(s) Day of Week: Any Month: Day of Month: Week of Month: Expiration: Last Update by (administrator): TSMEXPLORER Last Update Date/Time: 10/06/2009 11:41:50 Managing profile: ANS8002I Highest return code was 0. Unfortunately, schedule is failing: ANS8000I Server command: 'q ev nt daily_ftpsrv f=d' Policy Domain Name: NT Schedule Name: DAILY_FTPSRV Node Name: FTPSRV Scheduled Start: 10/06/2009 11:45:00 Actual Start: 10/06/2009 11:45:03 Completed: 10/06/2009 11:45:03 Status: Failed Result: 1 Reason: Failed ANS8002I Highest return code was 0. What is the reason? Could somebody help me? Thank you very much in advance. Grigori G. Solonovitch Senior Technical Architect Information Technology Bank of Kuwait and Middle East http://www.bkme.com Phone: (+965) 2231-2274 Mobile: (+965) 99798073 E-Mail: g.solonovi...@bkme.com<mailto:g.solonovi...@bkme.com> Please consider the environment before printing this Email Please consider the environment before printing this Email. ________________________________ "This email message and any attachments transmitted with it may contain confidential and proprietary information, intended only for the named recipient(s). If you have received this message in error, or if you are not the named recipient(s), please delete this email after notifying the sender immediately. BKME cannot guarantee the integrity of this communication and accepts no liability for any damage caused by this email or its attachments due to viruses, any other defects, interception or unauthorized modification. The information, views, opinions and comments of this message are those of the individual and not necessarily endorsed by BKME."