I've been looking at a few packages that perform scheduling of NT batch jobs. I prefer to keep dependencies the responsibility of the scheduler rather than hardcoding within the batch. Therefore, if any dependencies change I do not have to modify code and go through the testing, QA, procedures...
Can anyone recommend a software package that performs job scheduling and is under 150.00? I'm looking for something that can schedule batch jobs based upon dependencies of other jobs and the presence of a file. I'm looking for a GUI interface. I'd like to keep it relatively inexpensive as...
I'm looking for a way to send an email from an NT batch file upon an error. Can anyone tell me the syntax? My reference books are not helping. Thanks!
Example of what I'd like to do....
FINDSTR "INSERTED" %spoolfile%
IF %ERRORLEVEL% NEQ 0 (
ECHO There was a problem inserting a...
Thanks for replying. I'm looking to obtain the process id within the batch. I want to set a variable in the batch file to the process id. In UNIX it's a snap: jobid=$$ This is proving to be a problem in NT.
Can anyone tell me how to obtain the process ID for the batch file I am running? I would like to append the process ID to file titles and messages.
Thank you.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.