Re: script run from crontab, output not appearing as expected

From: Bill Verzal (BVerzal_at_KOMATSUNA.COM)
Date: 11/23/04

  • Next message: Justin Bleistein: "Re: script run from crontab, output not appearing as expected"
    Date:         Tue, 23 Nov 2004 09:10:50 -0600
    To: aix-l@Princeton.EDU
    
    

    Most likely it is because your environment is not set up correctly.

    BV

    -------------------------------------
    There's no place like /home

    Bill Verzal
    Project Leader, Komatsu America

    (847) 970-3726 - direct
    (847) 970-4184 - fax

                 Andrew Townsend
                 <Andrew.Townsend@
                 BISYS.COM> To
                 Sent by: IBM AIX aix-l@Princeton.EDU
                 Discussion List cc
                 <aix-l@Princeton.
                 EDU> Subject
                                           script run from crontab, output not
                                           appearing as expected
                 11/23/2004 08:58
                 AM

                 Please respond to
                      IBM AIX
                  Discussion List
                 <aix-l@Princeton.
                       EDU>

    I created a script that requires one argument. When I run the script from
    the command line as root, my output appears as expected. When I run it from
    cron however, my output is not as expected. It is a TSM script that gathers
    information and outputs it into a file. From the command line, it shows me
    how much data has been backed up, from the crontab, it just shows zero in
    each column.

    Thus far, I am looking at this as a cron issue, not a TSM issue so I asked
    it here. If this is the wrong place for it, my apologies.

    Thanks in advance,

    Drew

    This email is confidential and intended solely for the use of the
    individual or entity to whom it is addressed. If you have received this
    email in error please notify the system manager at mailadmin@bisys.com and
    delete the email immediately.


  • Next message: Justin Bleistein: "Re: script run from crontab, output not appearing as expected"

    Relevant Pages