Re: script run from crontab, output not appearing as expected
From: Renison, Rick (rick.renison_at_EDS.COM)
Date: 11/23/04
- Previous message: Lamar Saxon: "Re: AIX 4.3.3 to AIX 5.2 (don't got ot 5.1 ml 6)"
- Maybe in reply to: Andrew Townsend: "script run from crontab, output not appearing as expected"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 23 Nov 2004 17:33:44 -0500 To: aix-l@Princeton.EDU
Probably an environment issue.
If you run a file in your own environment (in .kshrc, .profile, etc.), then
add this to the cron script. For example ". /fullpath/env_file".
Rick Renison, EDS Canada, DuSC, Oshawa, Ontario
There's no place like 127.0.0.1
+ mailto:rick.renison@eds.com
-----Original Message-----
From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU] On Behalf Of
Andrew Townsend
Sent: Tuesday, November 23, 2004 9:59 AM
To: aix-l@Princeton.EDU
Subject: script run from crontab, output not appearing as expected
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.
- Previous message: Lamar Saxon: "Re: AIX 4.3.3 to AIX 5.2 (don't got ot 5.1 ml 6)"
- Maybe in reply to: Andrew Townsend: "script run from crontab, output not appearing as expected"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|