: The output is not captured by default. What most people do is redirecting : output to a log file and using available macro parameters to generate : unique file name with a date or date/time suffix, for example : sh /home/me/jobs/mybatch.sh > : /home/me/logs/mybatch@V"ddmmyyyy".log : Here when the job runs 24x7 replaces @V"ddmmyyyy" with current : date, todays it would be 11012006. So you get the idea.... I have tried create a job which the command line as follows: /u01/app/oracle/admin/scripts/backups/backup_db.ksh SWDEV01 > /var/opt/oracle/logs/scheduler/backups/j@V"job_id".log The job runs but no log is produced. If I run the same command line (without the @V"job_id") directly in a shell on the target host, the log is created OK.
|