Re: rsh and cron

From: Barry Margolin (barry.margolin_at_level3.com)
Date: 11/14/03

  • Next message: Edgar Allen: "Re: Vi help ?"
    Date: Thu, 13 Nov 2003 23:43:05 GMT
    
    

    In article <bp13n3$rk4$1@bob.news.rcn.net>, cljlk <cljlk@hotmail.com> wrote:
    >I have Ultra 60 with Solaris 2.6, and the rsh always work fine, until
    >recently I foud the rsh does not work on the Ultra 60. But I don't have
    >any clue. I use "rsh hostname(Ultra 60) soft_application" from one of
    >my server. And I got permission denied. Please shed a light.

    Is the problem only with the client machine you're running the rsh command
    on, or the server you're trying to run soft_application on?

    If it's the client, make sure /usr/bin/rsh is owned by root and setuid.

    If it's the server, make sure the client is in your ~/.rhosts file on the
    server.

    >Another question here..
    >How do I detect that the cron job is running accordingly?

    >From the cron(1M) man page:

         To keep a log of all actions taken by cron, CRONLOG=YES (by
         default) must be specified in the /etc/default/cron file.
         If CRONLOG=NO is specified, no logging is done. Keeping the
         log is a user configurable option since cron usually creates
         huge log files.

    >I set a cron job as "0,10,20,30,40,50 * * * * application_here"
    >And I found that the cron job did not run every 10 minute. I mean,
    >the cron job sometime run, but sometime does not run. It skip some of
    >schedule.

    I can't think of a good reason for this.

    -- 
    Barry Margolin, barry.margolin@level3.com
    Level(3), Woburn, MA
    *** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
    Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.
    

  • Next message: Edgar Allen: "Re: Vi help ?"

    Relevant Pages

    • Re: rsh daemon written in perl?
      ... > Have found rsh client, but no rsh daemon server element. ... I've written both an "rsh" client and server solution in Perl using ... ## Setup XML-RPC web service on designated port. ...
      (comp.lang.perl.misc)
    • Re: rsh works on the ksh prompt but not in a shell script
      ... > I too am trying to get rsh working from a Linux box to an AIX 5.1 box. ... Works fine for me - client is a Linux on an Alpha processor ... including the domain (even though client and server are in the same): ...
      (comp.unix.aix)
    • Re: Newbie needs a workaround - No Cron Jobs on Godaddy shared server!
      ... > Is there already a tool available for poeple with no cron job access? ... > I'm on the economy 'shared server' program with Godaddy. ... It will make downoad the php page on my site (I've already tested ...
      (comp.lang.php)
    • Re: rsh and cron
      ... Is the problem only with the client machine you're running the rsh command ... or the server you're trying to run soft_application on? ... If it's the client, make sure /usr/bin/rsh is owned by root and setuid. ... >And I found that the cron job did not run every 10 minute. ...
      (comp.unix.admin)
    • Re: rsh and cron
      ... Is the problem only with the client machine you're running the rsh command ... or the server you're trying to run soft_application on? ... If it's the client, make sure /usr/bin/rsh is owned by root and setuid. ... >And I found that the cron job did not run every 10 minute. ...
      (comp.unix.solaris)