Post by d***@gmail.comPost by RandallPost by c***@gmail.comHello All,
Does anyone have any reference document or link which can help me with scheduling a cron job in batchcom utility.
Please help.
Scheduling cron jobs is done by editing the crontab file. See 'man cron' for details. It is unrelated to batchcom.
osh -c "<program name> [-p1 param1] [-p2 param2] [etc.]"
If you want output you may want to look into running an OSSTTY process.
Dave
We had some OSS batches running unter control of NetBatch. To get the thing running was a bit tricky, finally we had the following solution, the example shows a pax execution as part of a TACL macro:
osh /jobid 0,term $zhome/-osstty -c "pax -w -v -f /G/[:used_disk]/mydir/conf /mydir/conf 2>/G/[:used_disk]/mydir/cnflist" >/listout
The really important things are the parameter jobid and the -osstty, without these parameters it did not work.