From owner-freebsd-questions@FreeBSD.ORG Thu Jun 19 11:31:02 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A905C37B401 for ; Thu, 19 Jun 2003 11:31:02 -0700 (PDT) Received: from cus.org.uk (host213-106-240-81.no-dns-yet.ntli.net [213.106.240.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id A444D43FA3 for ; Thu, 19 Jun 2003 11:31:01 -0700 (PDT) (envelope-from benc@cus.org.uk) Received: from cus.org.uk (localhost.cus.org.uk [127.0.0.1]) by cus.org.uk (8.12.6/8.12.6) with ESMTP id h5JIV05h042366 for ; Thu, 19 Jun 2003 19:31:00 +0100 (BST) (envelope-from benc@cus.org.uk) Received: from localhost (benc@localhost) by cus.org.uk (8.12.6/8.12.6/Submit) with ESMTP id h5JIV0fv042363 for ; Thu, 19 Jun 2003 19:31:00 +0100 (BST) Date: Thu, 19 Jun 2003 19:31:00 +0100 (BST) From: Ben Cohen To: freebsd-questions@freebsd.org Message-ID: <20030619193042.N42050@cus.org.uk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: "ppp -auto" limited to certain times only? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jun 2003 18:31:02 -0000 Hi, I have fixed-rate dialup access from my ISP but only off-peak. I just found out that they let me connect at other times but charge me extra so I want to avoid doing this accidentally. I'd like to run "ppp -auto" so that I get dial on demand in the evening, but stop it connecting in the daytime. I thought of using a cron job to start and stop ppp but is there a more elegant way? Thanks, Ben.