Skip to main content
ExLibris
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    Second runs of p_cir_51/p_cir_13 produce empty output, overwriting good output

    • Article Type: General
    • Product: Aleph
    • Product Version: 20

    Description:
    The p_cir_51 overdues and p_cir_13 recall notices ran twice last night (via the job daemon). The (empty) output from the second run overlaid the (good) output of the first run. Since the first run updated the loan/request record to indicate that a notice had been sent, the second run produced empty output, which overwrote that from the first run.

    Resolution:
    As described in KBs 5151 and 8192-743, this can happen at the time of the change to/from Daylight Savings Time.

    But in this case a second jobd process had been started under a different user (other than aleph). The site had copied the .cshrc from the home directory of the user aleph to the home directory of other users -- to allow users to dlib and use the util without su'ing to aleph.

    As long as the user performs updates only when su'ed to aleph, there is no problem. But it is easy to forget to do the su.

    The solution was to remove the line:

    source $alephm_dev/alephm/prof_master

    from the .cshrc of users other than aleph -- forcing users to always su to aleph.


    • Article last edited: 10/8/2013