job_list/job daemon job fails: "Unable to open log file ..."
- Article Type: General
- Product: Aleph
- Product Version: 16.02
I set up a custom job in job_list, but when the system tries to run the job, the log shows an error for the log file. Here are my notes about the custom job and the log message:
W4 W NYYYYYY
W4 06:30:00 N yesterdays_retur.log /app/exlibris/aleph/prod/abc/yesterdays_returns_sql
util e/15/4 (the jobd -- job daemon -- log) shows:
Unable to open log file /aleph/prod/bcc/alephe/scratch//app/exlibris/aleph/prod/abc/yesterdays_returns_sql_111003
It seems that the job_list entries for the other scripts *do* work OK.
One difference I see is that the column 4 logfile name for those is less than 11 bytes. This allows for the addition of the 9-byte suffix (such as "_13373552") while keeping the total length of the logname under the 20 bytes allowed for column 4.
Shortening "yesterdays_retun.log" to "yestrtn.log" corrected the problem.
- Article last edited: 10/8/2013