From owner-freebsd-questions@freebsd.org Fri Apr 10 17:46:34 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B14282C3F77 for ; Fri, 10 Apr 2020 17:46:34 +0000 (UTC) (envelope-from bsduser@cloudzeeland.nl) Received: from poseidon.cloudzeeland.nl (cloudzeeland.xs4all.nl [83.161.133.58]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "cloudzeeland.nl", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48zQRt3zYGz4Llh for ; Fri, 10 Apr 2020 17:46:34 +0000 (UTC) (envelope-from bsduser@cloudzeeland.nl) Received: from poseidon.cloudzeeland.nl (cloudzeeland.nl [10.10.10.36]) by poseidon.cloudzeeland.nl (Postfix) with ESMTP id 40C1486D2; Fri, 10 Apr 2020 19:46:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cloudzeeland.nl; s=cloud; t=1586540792; bh=D2aIOmI/TxKrKWsibzrSe7ph1smAolIZaoM5O4JPtPU=; h=Subject:To:References:From:Date:In-Reply-To; b=s0n/asOGKZbAKHO358A78f1FQPmad6OZMnHfkV04gQbKVYz2cJl4H6uxPSprjupQu aLxz/K+kgjPEsFuRAixNZQMbAZf4pL5Ck4XM+JgV5iqRuDEXPjZIzpWGGJx0q6ZstG +uifId3Zo5BvQSIac0Z/cik284/ELQ9acdWsUuVM= Received: from [10.10.10.34] (pion1.rpicloud.nl [82.176.127.71]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by poseidon.cloudzeeland.nl (Postfix) with ESMTPSA id C462086D1; Fri, 10 Apr 2020 19:46:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cloudzeeland.nl; s=cloud; t=1586540791; bh=D2aIOmI/TxKrKWsibzrSe7ph1smAolIZaoM5O4JPtPU=; h=Subject:To:References:From:Date:In-Reply-To; b=KOhWAcmFfWiJaGzTOy1Zypzw4QvMmXQ2ysm79Wt3JjkqnC3DK6YxlfQq7vm8RXSA6 fWRC6V0WsrTABrQkhqPbImU+PCDL8mPnV9+9TLmc+zWSW/Eg8hMnYCbcseMBbT6Dl2 Cclgg9YsSYtNG4VMrNqJJuh7pogpxrsGNWihf4hc= Subject: Re: Cron config for ipfw table To: freebsd-questions@freebsd.org, Jerry References: <20200410083854.0000516d@seibercom.net> From: Jos Chrispijn Organization: Userland rocks! Message-ID: <4c9fa960-f367-9beb-4c00-810b34e3e672@cloudzeeland.nl> Date: Fri, 10 Apr 2020 19:46:31 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <20200410083854.0000516d@seibercom.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP on poseidon.cloudzeeland.nl X-Rspamd-Queue-Id: 48zQRt3zYGz4Llh X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-6.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Apr 2020 17:46:34 -0000 On 10-4-20 14:38, Jerry wrote: > I run several programs upon reboot also. However, I never use "bash" as > part of the command. I currently use #!/bin/bash > > Assuming you have the correct "shebang" in th script, you could just use > > @reboot /root/cronjobs/reboot.sh & > Unfortunately, removing the & doesn't result in the solution. Will check the link you provided again; might oversee the issue by using a typo somewhere. Thanks, Jos