Skip to main content
ExLibris

Knowledge Assistant

BETA
 
  • Subscribe by RSS
  • Back
    Aleph

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Aleph
    3. Knowledge Articles
    4. p_file_20 won't run from crontab

    p_file_20 won't run from crontab

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    No headers
    • Article Type: General
    • Product: Aleph
    • Product Version: 18.01

    Description:
    We used to run p_file_20 from the aleph crontab. Now this doesn't work. We can submit p_file_20 successfully from the command line and from the GUI client, but we would still like to be able to use crontab.

    This is the error message we get from the crontab log:

    get_ora_passwd: Command not found
    get_ora_passwd: Command not found
    unix_name: Undefined variable

    Resolution:
    cron" is not an Aleph function; this can be done equally well from the Aleph job_list.

    In submitting the job from the command line, you are specifying a list of parameters like this:

    ABC50,facadd.plif.10182008,facadd.rpt.10182008,Y,%,,,ALEPH_SEQ,

    What you need to do is to create an entry in the $alephe_tab/job_list like this:

    ! 2 3 4 5 6 7
    !!-!!!!!!!!-!-!!!!!!!!!!!!!!!!!!!!-!!!!!-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!-!!!!!!
    Wn hh:mm:ss Y ABC50 p_file_20 ABC50,facadd.plif.%DATE,facadd.rpt.%DATE,Y,%,,,ALEPH_SEQ,

    where "Wn" the days you want to run it; "hh:mm:ss" is the time; and "%DATE" is today's date. {The input file suffix needs to be in the form 20081018 (-- not 10182008).}

    If you are running the job in the early morning and the input file will have yesterday's date, you would specify: "%DATE-D001".

    Note: If you paste the preceding lines into the job_list file (or Notepad), you will see that the parameters are in column 7.


    • Article last edited: 10/8/2013
    View article in the Exlibris Knowledge Center
    1. Back to top
      • p_file_20 taking longer to run after upgrade to v19
      • p_file_20, XML format: does z303_rec_key need to be included?
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      1. 18.01
      2. contype:kba
      3. Prod:Aleph
      4. Type:General
    1. © Copyright 2025 Ex Libris Knowledge Center
    2. Powered by CXone Expert ®
    • Term of Use
    • Privacy Policy
    • Contact Us
    2025 Ex Libris. All rights reserved