Click to See Complete Forum and Search --> : Using at command to disconnect dialup?


zing
11-25-2001, 05:36 PM
Is the following command correct :

at 06:55am

kill kppp
ctrl + 'd'

would this allow the autodisconnection of my dialup at the specified time?

Any info would be appreciated

:confused:

demian
11-25-2001, 05:47 PM
Yup, that's right.

fancypiper
11-25-2001, 05:52 PM
Here is how I do it (RedHat 7.2 distro).

I created a file called hangup and it contains"

/sbin/ifdown ppp0

I then use the command:

at -f hangup 7:59 am

I go offline before the ISP charges start at 8 am (no charge between midnite and 8am.)