[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

# Re: crontab & restart

- Date: Tue, 29 Jul 1997 15:49:57 -0500
- From:
- CC: moo-cows@the-b.org
- In-reply-to: <199707291947.MAA12595@saul9.u.washington.edu>(dsw@u.washington.edu)

    >>>>> "D" == D Walker <dsw@u.washington.edu> writes:

        D> So, does anyone know how to get a cron job working to restart a
        D> moo once a week? The restart.sh that comes with the code uses
        D> nohup, which requires a terminal, so I can't call that. I tried
        D> just calling the command-line startup but that didn't work
        D> either. I keep getting a "must be called from a terminal"
        D> error.

        D> Diana aka Trouble @ DownMOO

    Try starting it with an expect script.  That way, the pty that expect
    allocates will look like a terminal to the MOO even thought there is
    really no physical terminal involved.  You can get expect at
    ftp://ftp.cme.nist.gov/pub/expect/.

    --
    --------  "And there came a writing to him from Elijah"  [2Ch 21:12]  --------
    Robert Jay Brown III  rj@eli.wariat.org  http://eli.wariat.org  1 847 705-0424
    Elijah Laboratories Inc.;  37 South Greenwood Avenue;  Palatine, IL 60067-6328
    -----  M o d e l i n g   t h e   M e t h o d s   o f   t h e   M i n d  ------

References:

- crontab & restart

- From: "D. Walker" <dsw@u.washington.edu>

- Prev by Subject: crontab & restart
- Next by Subject: Re: crontab & restart
- Prev by thread: crontab & restart
- Next by thread: Re: crontab & restart
- Index(es):
  - Subject
  - Thread

Home | Subject Index | Thread Index