4.7.1 Modifying the login script (UNIX only)
In the UNIX version of JP1/AJS3, the shell executes the login script of the execution OS user before execution of a standard job, HTTP connection job, action job, or custom job. # The following shows examples of executing shell login scripts:
- #
-
There might be some differences depending on the OS type. For details, check the documentation for the applicable OS.
-
sh and ksh shells
/etc/profile $HOME/.profile
-
csh shell
/etc/csh.login $HOME/.cshrc $HOME/.login
-
bash shell
/etc/profile $HOME/.bash_profile
Text other than job execution results is output to the standard output file if the login script includes a command such as echo or cat that outputs data to the standard output. Also, if the stty, tty, tset, script, or other interactive command is executed in a batch file, the job might terminate abnormally. In this case, modify the login script so that such commands are not executed. For details about modifying a login script, see 13.4.2 Changing the login scripts in the JP1/Automatic Job Management System 3 Configuration Guide.