Re: SV: [Cron <root@mail> sh /root/save_slox]

From: Arden Norder (norda01_at_freeler.nl)
Date: 12/06/03

  • Next message: Jeff: "Re: Running multiple versions of Linux on the same box?"
    To: redhat-list@redhat.com
    Date: Sat,  6 Dec 2003 13:52:13 +0100 (CET)
    
    
    

    Gents,

    Well, well, well . . . it works. What I am missing is the why it works as root at the prompt and not as root in a cron job. Funnier yet - this always worked without a problem until last week.

    Thanx again,

    Arden

    On Dec 05, 2003 06:24 PM, Arden Norder <norda01@freeler.nl> wrote:

    > Daniel,
    >
    > I added "export PATH=/bin:/sbin:/usr/sbin:/usr/bin/" to my script and we'll see how it goes tonight.
    >
    > Thanx for the suggestion!!! I should have known . . . it was late. ;)
    >
    > Arden
    >
    > On Dec 05, 2003 04:05 PM, Daniel Nyström <dny@pcm.se> wrote:
    >
    > > Or, just change the script to reflect the full path to "checkproc".
    > >
    > > Then it'll work under any circumstances.
    > >
    > > //Daniel
    > >
    > >
    > > -----Ursprungligt meddelande-----
    > > Från: Jason Staudenmayer [mailto:jasons@NJAQUARIUM.ORG]
    > > Skickat: den 5 december 2003 15:32
    > > Till: 'redhat-list@redhat.com'
    > > Ämne: RE: [Cron <root@mail> sh /root/save_slox]
    > >
    > >
    > > Look like the user that this is run under is missing something in the path,
    > > or doesn't have permission to start those services. Try running it under
    > > roots cron or adjust the rights for that user.
    > >
    > > -----Original Message-----
    > > From: Arden Norder [mailto:norda01@freeler.nl]
    > > Sent: Friday, December 05, 2003 9:18 AM
    > > To: redhat-list@redhat.com
    > > Subject: Fwd: [Cron <root@mail> sh /root/save_slox]
    > >
    > >
    > > Hello fellow hackers,
    > >
    > > Can anyone shed any light on this cron mail?? If I run this script from the
    > > prompt - not a single error in sight - schedule it as a cron job and BOOM -
    > > service don't shut down properly followed by services not starting up again
    > > - the system is more or less dead for the users. Root has to start
    > > everything back up.
    > >
    > > Any help/suggestion would be HUGELY appreciated.
    > >
    > > Arden
    > >
    > >
    > > --
    > > redhat-list mailing list
    > > unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    > > https://www.redhat.com/mailman/listinfo/redhat-list
    > >
    > >
    > > --
    > > redhat-list mailing list
    > > unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    > > https://www.redhat.com/mailman/listinfo/redhat-list
    > >
    >
    >
    >
    > Regards / Met vriendelijke groet,
    > Arden B. Norder
    > Nordix Consulting en Automatisering
    > Menno van Coehoornstraat 12
    > Sloten, 8556 AR
    > THE NETHERLANDS
    >
    > Mob: +31 (0) 6 2148 7568
    > Tel: +31 (0) 514 531 382
    > Fax: +31 (0) 514 531 197
    >
    > Nordix is a SuSE Linux Premium Partner.
    >
    > -------------------------------------------------------------------
    > ATTENTION:
    > The information in this electronic mail message is private and
    > confidential, and only intended for the addressee. Should you
    > receive this message by mistake, you are hereby notified that
    > any disclosure, reproduction, distribution or use of this
    > message is strictly prohibited. Please inform the sender by
    > reply transmission and delete the message without copying or
    > distributing it.
    >
    > Messages and attachments are scanned for all viruses known.
    > If this message contains password-protected attachments, these
    > files have NOT been scanned for viruses by the Nordix mail domain.
    > Always scan attachments before opening them!!!
    > -------------------------------------------------------------------

    Regards / Met vriendelijke groet,
    Arden B. Norder
    Nordix Consulting en Automatisering
    Menno van Coehoornstraat 12
    Sloten, 8556 AR
    THE NETHERLANDS

    Mob: +31 (0) 6 2148 7568
    Tel: +31 (0) 514 531 382
    Fax: +31 (0) 514 531 197

    Nordix is a SuSE Linux Premium Partner.

    -------------------------------------------------------------------
    ATTENTION:
    The information in this electronic mail message is private and
    confidential, and only intended for the addressee. Should you
    receive this message by mistake, you are hereby notified that
    any disclosure, reproduction, distribution or use of this
    message is strictly prohibited. Please inform the sender by
    reply transmission and delete the message without copying or
    distributing it.

    Messages and attachments are scanned for all viruses known.
    If this message contains password-protected attachments, these
    files have NOT been scanned for viruses by the Nordix mail domain.
    Always scan attachments before opening them!!!
    -------------------------------------------------------------------

    
    

    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Jeff: "Re: Running multiple versions of Linux on the same box?"

    Relevant Pages

    • Re: SV: [Cron <root@mail> sh /root/save_slox]
      ... Nordix is a SuSE Linux Premium Partner. ... any disclosure, reproduction, distribution or use of this ... Messages and attachments are scanned for all viruses known. ...
      (RedHat)
    • Re: Migrating from Exchange
      ... Nordix is a SuSE Linux Premium Partner. ... any disclosure, reproduction, distribution or use of this ... Messages and attachments are scanned for all viruses known. ...
      (RedHat)
    • Re: mac address of eth device
      ... Nordix is a SuSE Linux Premium Partner. ... any disclosure, reproduction, distribution or use of this ... Messages and attachments are scanned for all viruses known. ...
      (RedHat)
    • RE: Silly crackers... NT is for kids...
      ... The information in this electronic mail message is private and confidential, and only intended for the addressee. ... If this message contains password-protected attachments, the files have NOT been scanned for viruses by the ING mail domain. ... Always scan attachments before opening them. ...
      (FreeBSD-Security)
    • RE: ipfw and its glory...
      ... The information in this electronic mail message is private and confidential, and only intended for the addressee. ... If this message contains password-protected attachments, the files have NOT been scanned for viruses by the ING mail domain. ... Always scan attachments before opening them. ...
      (FreeBSD-Security)