Re: A Classic crontab Question

From: Ford, Phillip (phillip.ford_at_SPCORP.COM)
Date: 09/01/05

  • Next message: faisalq . (faisalq): "p630 hangup"
    Date:         Thu, 1 Sep 2005 09:44:17 -0400
    To: aix-l@Princeton.EDU
    
    

    It goes to e-mail to the person running the script. We do have problems
    with this with process accounts that no one logs into. The mail will grow
    until it fills the file system.
     
     

    -- 
    Phillip 
    320-4462 
    -----Original Message-----
    From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU] On Behalf Of
    Justin Bleistein
    Sent: Thursday, September 01, 2005 8:23 AM
    To: aix-l@Princeton.EDU
    Subject: Re: A Classic crontab Question
    I've seen problems with crontab script execution, with output alot. Does
    this command produce output? 
    If so where does it go? 
    Thanks. 
    --Justin Richard Bleistein
    AIX Systems Administrator
    Barry Finkel <b19141@ACHILLES.CTD.ANL.GOV> 
    Sent by: IBM AIX Discussion List <aix-l@Princeton.EDU> 
    09/01/2005 08:29 AM 
    Please respond to
    IBM AIX Discussion List <aix-l@Princeton.EDU>
    To
    aix-l@Princeton.EDU 
    cc
    Subject
    Re: A Classic crontab Question
    	
    >I have a script that works for a user but when executed 
    >from a crontab fails with the following message (AIX 5.1):
    >[snip] 
    >                                                            
    >                    a25R78C a25R77CQQa25R1C 
    >                                                            
    >                  a1R1C/usr/local/bbj401/bin/bbj 
    >terminating: FAILED to read from AppServer
    >
    >Here is the setup scripts....(in the application it runs 
    >about five other programs.)
    >$ cat dosj
    >TERM=wyse60
    >export TERM
    >BBTERM=T700
    >export BBTERM
    >BBCONFIG=/usr/local/osas/OSASSRV/progRM/config.aut
    >export BBCONFIG
    >TERMCAP=/usr/local/bbj401/cfg/termcap
    >export TERMCAP
    >cd /usr/local/osas/OSASSRV/progRM
    >/usr/local/bbj401/bin/bbj -q 
    >/usr/local/osas/OSASSRV/progRM/RMSETUP.aut
    >$
    There also may be a problem if you do not specify the shell at the
    start of the script.  I have had problems (on Solaris) if the top line
    of the script is not
        #!/bin/sh   (or whatever shell language is used in the script)
    especially if one script is invoking another script.
    ----------------------------------------------------------------------
    Barry S. Finkel
    Computing and Information Systems Division
    Argonne National Laboratory          Phone:    +1 (630) 252-7277
    9700 South Cass Avenue               Facsimile:+1 (630) 252-4601
    Building 222, Room D209              Internet: BSFinkel@anl.gov
    Argonne, IL   60439-4828             IBMMAIL:  I1004994
    *********************************************************************
    This message and any attachments are solely for the intended recipient. If you are not the intended recipient, disclosure, copying, use or distribution of the information included in this message is prohibited -- Please immediately and permanently delete.
    

  • Next message: faisalq . (faisalq): "p630 hangup"

    Relevant Pages

    • Re: A Classic crontab Question
      ... Subject: A Classic crontab Question ... So, find out what is not set up when running through cron, and add that to ... the script that runs the job, ... terminating: ...
      (AIX-L)
    • Re: A Classic crontab Question
      ... I've seen problems with crontab script execution, with output alot. ... AIX Systems Administrator ...
      (AIX-L)