From: Rusty Lingenfelter <lingenfr@erols.com>
To: axp-list@redhat.com
Subject: Re: scripts and the 'at' command
Date: Sat, 27 Mar 1999 11:26:41 -0500 [thread overview]
Message-ID: <36FD06C1.EA0DE584@erols.com> (raw)
In-Reply-To: 5518FE2C95E6D111B1A500104B72113B0301364E@alfexc8.alf.dec.com
Bob Segrest wrote:
> Greetings,
>
> I have written a short simple script that checks to see if my ppp link is up
> and if is not, spawns my dialer script. The last line of the script uses
> the 'at' command to run the script a few minutes later.
>
> The good news is that the script seems to work. The bad news is that every
> time 'at' executes the script it generates a mail message indicating
> "warning: command will be executed using /bin/sh". The first line of my
> script is the standard "#!/bin/sh" and I haven't been able to figure out why
> this message continues to pop up. As any output from the script (including
> this warning) will cause a mail message to be generated and this could add
> up to an excessive number of messages very quickly, I need to fix this
> before I can use the script.
>
> Can anyone suggest...
>
> what I might be doing (or not doing) wrong in my script ???
> or
> how I might suppress mail messages ???
>
> Bob Segrest
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
Bob,
Your script sounds interesting. I am going to use a Linux box (either my Multia
or my Sparc) as a gateway to my ISP. I will be using a 56K modem, so I was
thinking about how I would allow the others on the LAN to light up PPP remotely
(very easily since it is my wife and kids). It sounds like a script like yours
would be good, then they would not have to holler up the stairs to see if I was
already on. When you have a minute, I would appreciate some insight into how
you are using it. Thanks.
Rusty
next prev parent reply other threads:[~1999-03-27 16:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-03-27 15:48 scripts and the 'at' command Bob Segrest
1999-03-27 16:26 ` Rusty Lingenfelter [this message]
1999-03-30 18:40 ` Michael Tibor
1999-03-27 19:39 ` Konrad Podloucky
-- strict thread matches above, loose matches on Subject: below --
1999-03-28 18:31 James Bremer
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox