This explains the exit program called up when the day change time set in the calendar function arrives.
[Windows]
If the day change time arrives, the system searches for the exit program in the timeexit.bat first and then in the timeexit.exe. The exit program found will be used. If the timeexit.bat is found, timeexit.exe will not be called up even if it exists.
If you want to use this exit to perform custom processing, create an exit program with the same name and store it in the following directory:
<Systemwalker installation directory>\MpWalker.JM\bin |
[UNIX]
If the day change time arrives, the system searches for and calls the jobsch.time.exit file as the exit program.
If you want to use this exit to perform custom processing, create an exit program with the same name and store it in the following directory:
Solaris/Linux:
/opt/FJSVJOBSC/bin |
HP-UX:
/opt/FHPJOBSCH/bin |
AIX:
/usr/FAIXJOBSC/bin |
Appropriate execution privileges are required to execute the exit program. If relevant privileges are not set, the exit program will not be called.
Parameters Passed to the Exit Program
The parameters passed to the exit program are shown below.
|
In Systemwalker Operation Manager EE, the number of parameters is two.
This parameter is used in Systemwalker Operation Manager EE.
Cautions
Prevent time-consuming process because it may cause delay of execution for job nets and groups.
The execution user at the exit is the logon account of the Jobscheduler service. [Windows]
The execution user at the exit is a root account. [UNIX]
Program Example
Below is an example program for the day change time arrival exit:
[Windows]
/* Generates a message event called JOBSCH-TIME */ #include <process.h> main() { system("jobschmsgevent JOBSCH-TIME"); exit(0); }
[Solaris]
/* Example program for the day change time arrival exit (for UNIX), which outputs a day change time arrival message on the console */ #include <syslog.h> #include <stdio.h> main() { openlog("jobsch", LOG_CONS, LOG_USER); syslog(LOG_WARNING, "WARNING: Day change time has come."); closelog(); exit(0); }