I can't get a scheduled job to run using Server 2K3 Task Scheduler. The stexport.exe process just hangs no cpu use.
The job runs manually, and from the batch file (Below) if executed interactively.
I have a scheduled job as follows c:\batch\ExporterPro\export.bat
Doesn’t work if I just schedule as follows: c:\batch\ExporterPro\stexport.exe /CONFIG="C:\Batch\ExporterPro\Configs\Systems Export - Config.INI"
Works fine as long as the "logged on User" is the credentials you use for the task.
It should work with no one logged on, shouldn’t it?
I know the account I'm using has sufficient access to the servers and domain. You can logon to that account interactively and it works fine locally.
(export.bat)
@ECHO OFF
REM Kill any Exporter Pro Process(s)
C:\BATCH\PROCESS.EXE -K stexport.exe
TITLE Exporter Pro - Systems Export - Exporting...
ECHO Exporter Pro - Systems Export - Exporting...
c:\batch\ExporterPro\stexport.exe /CONFIG="C:\Batch\ExporterPro\Configs\Systems Export - Config.INI"
ECHO.
TITLE Exporter Pro - AD Export - Exporting...
ECHO Exporter Pro - AD Export - Exporting...
c:\batch\ExporterPro\stexport.exe /CONFIG="C:\Batch\ExporterPro\Configs\AD Export - Config.INI"
ECHO.
TITLE Exporter Pro - NT4 Domains - Exporting...
ECHO Exporter Pro - NT4 Domains - Exporting...
c:\batch\ExporterPro\stexport.exe /CONFIG="C:\Batch\ExporterPro\Configs\Configs\NT4 Domains - Config.INI"
exit
The job runs manually, and from the batch file (Below) if executed interactively.
I have a scheduled job as follows c:\batch\ExporterPro\export.bat
Doesn’t work if I just schedule as follows: c:\batch\ExporterPro\stexport.exe /CONFIG="C:\Batch\ExporterPro\Configs\Systems Export - Config.INI"
Works fine as long as the "logged on User" is the credentials you use for the task.
It should work with no one logged on, shouldn’t it?
I know the account I'm using has sufficient access to the servers and domain. You can logon to that account interactively and it works fine locally.
(export.bat)
@ECHO OFF
REM Kill any Exporter Pro Process(s)
C:\BATCH\PROCESS.EXE -K stexport.exe
TITLE Exporter Pro - Systems Export - Exporting...
ECHO Exporter Pro - Systems Export - Exporting...
c:\batch\ExporterPro\stexport.exe /CONFIG="C:\Batch\ExporterPro\Configs\Systems Export - Config.INI"
ECHO.
TITLE Exporter Pro - AD Export - Exporting...
ECHO Exporter Pro - AD Export - Exporting...
c:\batch\ExporterPro\stexport.exe /CONFIG="C:\Batch\ExporterPro\Configs\AD Export - Config.INI"
ECHO.
TITLE Exporter Pro - NT4 Domains - Exporting...
ECHO Exporter Pro - NT4 Domains - Exporting...
c:\batch\ExporterPro\stexport.exe /CONFIG="C:\Batch\ExporterPro\Configs\Configs\NT4 Domains - Config.INI"
exit
Comment