From owner-freebsd-questions@FreeBSD.ORG Tue Apr 22 10:34:22 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF9B71065675 for ; Tue, 22 Apr 2008 10:34:22 +0000 (UTC) (envelope-from zszalbot@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by mx1.freebsd.org (Postfix) with ESMTP id 6624F8FC1B for ; Tue, 22 Apr 2008 10:34:22 +0000 (UTC) (envelope-from zszalbot@gmail.com) Received: by ug-out-1314.google.com with SMTP id y2so91454uge.37 for ; Tue, 22 Apr 2008 03:34:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:received:received:to:subject:x-php-script:mime-version:date:from:message-id:x-sender:received:user-agent:content-type:content-transfer-encoding; bh=pcq1N/eCzoF40uvE2wVb1wYRyMX5DEidVdwWkCU/XPM=; b=KKp3y/Ocq22/NmGxE6OpQsU8HVCZzO6zFfwQJFjlaZHx7Fm7dH0gglHua9AgovBJ+JLCbFoJu8EpQcPWTXzsU8JqZcbQmsQu396qjLSXH7qlBwf0z58zVwRokcspcn4Zq+9dEEC+wCa54QiXQeCn3Wt5eb8DKcvpqoU6pFadS8Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=to:subject:x-php-script:mime-version:date:from:message-id:x-sender:user-agent:content-type:content-transfer-encoding; b=LG3hAJ1854n3l6EnkLG/A4u6Lf1BqDNnoi+Yq9NvnbLxEEve6tDL6Wkl0OfEV9vSQCwUUoToCFDSkjgKpJ/cDy+Bn+SrxMh/kp2w+OogjsDw9ilUlgRXH8o3PjyuRptluRxc2FuxV95B9Jw/dxXhU08DpPW4tbUCN4SznVxJ53g= Received: by 10.66.243.4 with SMTP id q4mr6745559ugh.5.1208860461051; Tue, 22 Apr 2008 03:34:21 -0700 (PDT) Received: from lists.lc-words.com ( [83.19.156.210]) by mx.google.com with ESMTPS id 27sm10541195ugp.19.2008.04.22.03.34.18 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 22 Apr 2008 03:34:19 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by lists.lc-words.com (Postfix) with ESMTP id 380512843A for ; Tue, 22 Apr 2008 12:34:13 +0200 (CEST) Received: from lists.lc-words.com ([127.0.0.1]) by localhost (szalbot.homedns.org [127.0.0.1]) (amavisd-maia, port 10024) with ESMTP id 77296-05 for ; Tue, 22 Apr 2008 12:34:12 +0200 (CEST) Received: by lists.lc-words.com (Postfix, from userid 80) id C48E228438; Tue, 22 Apr 2008 12:34:12 +0200 (CEST) To: freebsd-questions@freebsd.org X-PHP-Script: szalbot.homedns.org/roundcube/index.php for 192.168.11.1 MIME-Version: 1.0 Date: Tue, 22 Apr 2008 12:34:12 +0200 From: Zbigniew Szalbot Message-ID: <36b22dcf9403783aa82cb84ac8a886aa@localhost> X-Sender: zszalbot@gmail.com Received: from 192.168.11.1 [192.168.11.1] with HTTP/1.1 (POST); Tue, 22 Apr 2008 12:34:12 +0200 User-Agent: RoundCube Webmail Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Subject: Crontab @reboot directive 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: Tue, 22 Apr 2008 10:34:23 -0000 Hello, If I want to start a program at every system reboot and the program should not be started by root, is it enough for me to edit a users crontab with the following directive? @reboot /path/to/file.sh Many thanks! Zbigniew Szalbot