Re: script run from crontab, output not appearing as expected
From: Bill Verzal (BVerzal_at_KOMATSUNA.COM)
Date: 11/23/04
- Previous message: Andrew Townsend: "script run from crontab, output not appearing as expected"
- In reply to: Andrew Townsend: "script run from crontab, output not appearing as expected"
- Next in thread: Justin Bleistein: "Re: script run from crontab, output not appearing as expected"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Previous message: Andrew Townsend: "script run from crontab, output not appearing as expected"
- In reply to: Andrew Townsend: "script run from crontab, output not appearing as expected"
- Next in thread: Justin Bleistein: "Re: script run from crontab, output not appearing as expected"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- script run from crontab, output not appearing as expected
... I created a script that requires one argument. ... the command line as
root, ... It is a TSM script that gathers ... Thus far, I am looking at this as
a cron issue, not a TSM issue so I asked ... (AIX-L) - Re: Cron Job
... If you mean the computer itself, put that command ... The standard 'cron'
runs jobs at a specific time/date. ... Init or @reboot run jobs when ... Sunday
night at 02:00) then copy the script and cron entry. ... (comp.os.linux.misc) - Re: Cygwin problem with cron and networked drives
... command line it is recognized. ... Is the cron job running on a linux
system or an MS Windows system? ... versus the user running the cron job. ...
(comp.os.linux.networking) - Re: Nmon scheduling question
... command ran first then in the script is the ps and kill command so it ...
Vince this is a great script. ... Cron Job with pid: 135238 Failed ... (AIX-L) - Re: [SLE] rsync log
... If you type kcron you should get the ... What this means is the non-error output
from a command like rsync prints ... the standard output of a cron job is emailed
... kcron is just a GIU way to specify your crontab ... (SuSE)