From owner-freebsd-questions Sun Jul 21 22:59: 9 2002 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 B426137B400 for ; Sun, 21 Jul 2002 22:59:06 -0700 (PDT) Received: from clink.schulte.org (clink.schulte.org [209.134.156.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3533743E3B for ; Sun, 21 Jul 2002 22:59:06 -0700 (PDT) (envelope-from schulte+freebsd@nospam.schulte.org) Received: from localhost (localhost [127.0.0.1]) by clink.schulte.org (Postfix) with ESMTP id 3A39E243C2; Mon, 22 Jul 2002 00:42:12 -0500 (CDT) Received: from thor.nospam.schulte.org (thor.schulte.org [209.134.156.219]) by clink.schulte.org (Postfix) with ESMTP id 9BC3C243BE; Mon, 22 Jul 2002 00:42:10 -0500 (CDT) Message-Id: <5.1.1.6.2.20020722003654.03e51550@pop3s.schulte.org> X-Sender: X-Mailer: QUALCOMM Windows Eudora Version 5.1.1 Date: Mon, 22 Jul 2002 00:42:10 -0500 To: fred@timogen.com, From: Christopher Schulte Subject: Re: Can I use cron to shutdown a machine In-Reply-To: <031b01c231bb$dea90760$7d05a8c0@fred> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: by AMaViS 0.3.12pre6 on clink.schulte.org Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 01:10 PM 7/22/2002 -0700, fred@timogen.com wrote: >hi , > > > Can I use cron to shutdown a mahine? I don't see why not. > I had add the task to shutdown a machin in crontab, but It is not work. > Can u tell me why? Not unless you post the exact crontab entry back to the mailing list. What user is it running as? Is anything sent to the user via email, with diagnostic output that might help identify the problem? If so, post that as well. You might want to go over the crontab entry format as well. # man 5 crontab >Regards, >Fred Zhang -- Christopher Schulte http://www.schulte.org/ Do not un-munge my @nospam.schulte.org email address. This address is valid. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message