Open System Services Management and Operations Guide (G06.30+, H06.08+, J06.03+)

As an example of running an OSS shell script periodically, suppose:
You want to record OSS process activity every 10 minutes only on weekdays.
You have created an OSS shell script file containing the ps command at
/script/processes.sh.
You want to record normal output in the OSS file /script/processes.log and error
output in the OSS file /script/processes.err.
You would:
1. Create a valid job file for the NetBatch product, named \NODE.$SYSTEM.SYSTEM.PROCESS
and containing the following TACL command statement line:
OSH /script/processes.sh <- >>/script/processes.log &
2>>/script/processes.err
2. Enter the following at a TACL prompt:
BATCHCOM;SUBMIT JOB, IN \NODE.$SYSTEM.SYSTEM.PROCESS, &
EVERY 10 * * * * mon-fri
For an example of using the TACL OSH command to execute a single OSS shell command through
the NetBatch product, see “Controlling the Growth of Directories (page 241). For more information
on setting up and scheduling batch jobs, see the NetBatch Manual or the NetBatch Plus Reference
Manual.
Scheduling Periodic Tasks 79