►System Administration> OLIB Defaults
►System Administration> Daystart Logs
The file Daystart.sh or Daystart.bat is a file on the OLIB server that is scheduled via the operating system. This causes the other Daystart scripts to be executed.
To check if Daystart has run:
General Defaults | |
---|---|
Last Daystart | 25-JUN-2020 08:19 |
It is advisable to check this on a regular basis.
If a regular function in OLIB has failed for example:
Script Name | Start Date/Time | Elapsed Time (secs) | End Date/Time |
---|---|---|---|
daily | 08:18:04 (25-Jun-2020) | 72 | 08:19:16 |
email_history_expiry | 08:18:04 (25-Jun-2020) | 1 | 08:18:05 |
datasync_file_expiry | 08:18:05 (25-Jun-2020) | 1 | 08:18:06 |
opac_push_audit_expiry | 08:18:06 (25-Jun-2020) | 0 | 08:18:06 |
sync_oclc_numbers | 08:18:06 (25-Jun-2020) | 0 | 08:18:06 |
batch_delete | 08:18:06 (25-Jun-2020) | 4 | 08:18:10 |
clear_absent_title_links | 08:18:10 (25-Jun-2020) | 1 | 08:18:11 |
olib_analyze_table_owner | 08:18:11 (25-Jun-2020) | 2 | 08:18:13 |
olib_analyze_config_user | 08:18:13 (25-Jun-2020) | 0 | 08:18:13 |
rp002 | 08:18:13 (25-Jun-2020) |
0 |
08:18:13 |
Date | Time | Seconds |
---|---|---|
Wed 24-Jun 08:17:39 | 08:18:48 | 69s |
Tue 23-Jun 08:17:45 | 08:18:57 | 72s |
Mon 22-Jun 08:17:54 | 08:19:57 | 123s |
Sun 21-Jun 08:18:03 | 08:19:51 | 108s |
Sat 20-Jun 08:18:11 | 08:19:50 | 99s |
Fri 19-Jun 08:18:09 | 08:20:02 | 113s |
Thu 18-Jun 08:18:07 | 08:19:13 | 66s |
This may be useful information for OCLC Support.
If some function has failed, Support may advise you to check a particular log file from the Daystart Logs domain above. Here is an example of the olib_analyze_table_owner:
Each log file provides the following information:
Result Consistent Since | The earliest time noted for which the output of this script matches the output shown - when the output is the same every day, it does not repeat the log. In the above screen shot, for the execution of the script on Sep 3rd, it shows that the output has been the same since Sep 1st. As such, the results for Sep 2nd and Sep 1st have been removed in order to minimise clutter in this domain. (OLIB keeps the last 60 log files). |
Short Output / Long Output | Where the output of the script is under 4,000 characters it is placed into this field. Typically the output of rs004 is over this size, click the Attachments link to view it as an attached object instead. |
Next/Previous Results | This shows the results available for the execution before and after the current record, with the current record showing as “-----“. Here it shows that on Mondays the process takes around 225 seconds, whereas on other days the process takes around 1 second. |
The Daystart log is different from the above log files. It is a log showing which of all the above functional scripts, actually ran for the last Daystart.
In general, you do not need to check the Daystart log unless OCLC Support advise it.
To check the Daystart log:
generated_script 08:19:26 (25-Jun-2020)
Daystart log for generated_script
exec DayStartManager.StartScript('email_history_expiry');
host sqlplus -l WV20/wv20 @run_daystart_script email_history_expiry
exec DayStartManager.EndScript('&_RC');
exec DayStartManager.StartScript('datasync_file_expiry');
host sqlplus -l WV20/wv20 @run_daystart_script datasync_file_expiry
exec DayStartManager.EndScript('&_RC');
exec DayStartManager.StartScript('opac_push_audit_expiry');
host sqlplus -l WV20/wv20 @run_daystart_script opac_push_audit_expiry
exec DayStartManager.EndScript('&_RC');
exec DayStartManager.StartScript('sync_oclc_numbers');
host sqlplus -l WV20/wv20 @run_daystart_script sync_oclc_numbers
exec DayStartManager.EndScript('&_RC');
exec DayStartManager.StartScript('batch_delete');
host sqlplus -l WV20/wv20 @run_daystart_script batch_delete
exec DayStartManager.EndScript('&_RC');
exec DayStartManager.StartScript('clear_absent_title_links');
host sqlplus -l WV20/wv20 @run_daystart_script clear_absent_title_links
exec DayStartManager.EndScript('&_RC');
exec DayStartManager.StartScript('olib_analyze_table_owner');
host sqlplus -l OLIB/olib @run_daystart_script olib_analyze_table_owner
exec DayStartManager.EndScript('&_RC');
exec DayStartManager.StartScript('olib_analyze_config_user');
host sqlplus -l WV20/wv20 @run_daystart_script olib_analyze_config_user
Note: OCLC Support may ask you to send a copy of the file.