From owner-freebsd-questions@FreeBSD.ORG Fri Jan 12 17:51:25 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8C27816A407 for ; Fri, 12 Jan 2007 17:51:25 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from mail-out3.apple.com (mail-out3.apple.com [17.254.13.22]) by mx1.freebsd.org (Postfix) with ESMTP id 75EA013C45A for ; Fri, 12 Jan 2007 17:51:25 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from relay5.apple.com (relay5.apple.com [17.128.113.35]) by mail-out3.apple.com (8.13.8/8.13.8) with ESMTP id l0CHpPpE003201; Fri, 12 Jan 2007 09:51:25 -0800 (PST) Received: from relay5.apple.com (unknown [127.0.0.1]) by relay5.apple.com (Symantec Mail Security) with ESMTP id 1470A29C003; Fri, 12 Jan 2007 09:51:25 -0800 (PST) X-AuditID: 11807123-a3b5bbb0000039f2-16-45a7ca9dd2c9 Received: from [17.214.13.96] (unknown [17.214.13.96]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by relay5.apple.com (Apple SCV relay) with ESMTP id 08F3A30400B; Fri, 12 Jan 2007 09:51:25 -0800 (PST) In-Reply-To: <1386494739.20070113000523@yandex.ru> References: <1386494739.20070113000523@yandex.ru> Mime-Version: 1.0 (Apple Message framework v752.2) X-Priority: 3 (Normal) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <6350AC70-F0CA-46E5-82A1-509031368B8E@mac.com> Content-Transfer-Encoding: 7bit From: Chuck Swiger Date: Fri, 12 Jan 2007 09:51:24 -0800 To: Arseny Solokha X-Mailer: Apple Mail (2.752.2) X-Brightmail-Tracker: AAAAAA== Cc: freebsd-questions@freebsd.org Subject: Re: program kill X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jan 2007 17:51:25 -0000 On Jan 12, 2007, at 9:05 AM, Arseny Solokha wrote: > How can I kill the program at the defined time? For example, I need to > kill mpg321 at 21.00 if it works. Set up a cron job to run "pkill mpg321" at the appropriate time, or use an "at" job if this is a one-shot deal. -- -Chuck