[comp.unix.aix] 3003 Cron features

ced@bcstec.uucp (Charles Derykus) (05/30/91)

Has anyone encountered some strange "cron" effects on the RS6000, version
3003?

A cron job owner's .profile is run with each invocation of the cron job but 
apparently chokes on things requiring an interactive shell, i.,e.

an "open ksh" within a .profile  generates the following error:


    Message  1:
    >From root Tue May 28 15:50:02 1991
    Date: Tue, 28 May 91 15:50:01 -0700
    From: daemon
    To: root

    open: 0380-191 This workstation, , is not the console.
        Run this command only from the console, /dev/hft/0, or an hft
        workstation.


    *****************************************************************
    cron: The previous message is the standard output
    and standard error of one of the cron commands.

An interactive shell test around the "open ksh" fixes the problem but
has anyone complained to IBM?



Charles DeRykus				Internet:   ced@bcstec.boeing.com
Boeing Computer Services		UUCP:	    ...!uunet!bcstec!ced
Renton, WA.  M/S 6R-37			(206) 234-9223

moody@snap.austin.ibm.com (05/30/91)

In article <884@bcstec.boeing.com> ced@bcstec.uucp (Charles Derykus) writes:
>
>Has anyone encountered some strange "cron" effects on the RS6000, version
>3003?
>
>an "open ksh" within a .profile  generates the following error:
>
[stuff deleted]

>An interactive shell test around the "open ksh" fixes the problem but
>has anyone complained to IBM?

This problem (cron executes users .profile) was fixed with apar 
ix15208.  It is available in the 2004 and later versions of AIX.

>Charles DeRykus				Internet:   ced@bcstec.boeing.com
>Boeing Computer Services		UUCP:	    ...!uunet!bcstec!ced
>Renton, WA.  M/S 6R-37			(206) 234-9223


-- 
James Moody				aixnet:moody@moody.austin.ibm.com
Personal Systems Programming Austin	VNET:MOODY@AUSVMQ
AIX Field Support - Level 3		internet:moody@aixwiz.austin.ibm.com

Robin D. Wilson (06/03/91)

In article <884@bcstec.boeing.com> ced@bcstec.uucp (Charles Derykus) writes:
> 
> Has anyone encountered some strange "cron" effects on the RS6000, version
> 3003?
> 
> A cron job owner's .profile is run with each invocation of the cron job but 
> apparently chokes on things requiring an interactive shell, i.,e.
> 
> an "open ksh" within a .profile  generates the following error:
> 
> 
>     Message  1:
>     >From root Tue May 28 15:50:02 1991
>     Date: Tue, 28 May 91 15:50:01 -0700
>     From: daemon
>     To: root
> 
>     open: 0380-191 This workstation, , is not the console.
>         Run this command only from the console, /dev/hft/0, or an hft
>         workstation.
> 
> 
>     *****************************************************************
>     cron: The previous message is the standard output
>     and standard error of one of the cron commands.
> 
> An interactive shell test around the "open ksh" fixes the problem but
> has anyone complained to IBM?

What would you complain about?  This is the way it is supposed to work.   
(Unless you are refering to the "bug" that runs the ".profile" in the first  
place.  This bug should be fixed in 3005, or 2006.)

+-----------------------------------------------------------------------------+
|The views expressed herein, are the sole responsibility of the typist at hand|
+-----------------------------------------------------------------------------+
|UUCP:     pensoft!robin                                                      |
|USNail:   701 Canyon Bend Dr.                                                |
|          Pflugerville, TX  78660                                            |
|          Home: (512)251-6889      Work: (512)343-1111                       |
+-----------------------------------------------------------------------------+