From owner-freebsd-questions@freebsd.org Fri Apr 10 11:51:59 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 C46832BB6F5 for ; Fri, 10 Apr 2020 11:51:59 +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-digest SHA256) (Client CN "cloudzeeland.nl", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48zGZk4Jp3z3xbd for ; Fri, 10 Apr 2020 11:51:58 +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 19CBA85FB for ; Fri, 10 Apr 2020 13:51:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cloudzeeland.nl; s=cloud; t=1586519511; bh=9rftciyIUvixxXklLBWLsTRRsRgVlFzZRYo4fg3+hEQ=; h=To:From:Subject:Date; b=XWsh/FcyGNXhtkzwcRyrnPW0DlD5kZ0ZV/Y57GmIY9Ig8nbOMC9BJj/0d7RzRghhX OIuGz8yqgXkgO2pKeWkDGayYWWKckbnaw1/uo1gm45gkc2YRCoCnZn6d0GzmZHsemy kCR1PMFTV0J09fc2LOpNSAH3n8NpiWlppaoWZf3g= 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) server-digest SHA256) (Client did not present a certificate) by poseidon.cloudzeeland.nl (Postfix) with ESMTPSA id A699E85FA for ; Fri, 10 Apr 2020 13:51:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cloudzeeland.nl; s=cloud; t=1586519510; bh=9rftciyIUvixxXklLBWLsTRRsRgVlFzZRYo4fg3+hEQ=; h=To:From:Subject:Date; b=7fYqSMyRqNOyEdmIUnx64ZVtfBFk+99+a/mxwn+UaH2NOY+J3Mk2IPkFoMWvXKE5z q0tA3IqF3t3v68zfpo3ufIBFPX33GLmRCy8U2LWTtRjilwn5ePueg9JmOViEfwaffW eNEV7IPbKo3g6RfK1elQmFDfTkB7LEDCurESidrQ= To: freebsd-questions@freebsd.org From: Jos Chrispijn Subject: Cron config for ipfw table Organization: Userland rocks! Message-ID: Date: Fri, 10 Apr 2020 13:51:51 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB X-Virus-Scanned: ClamAV using ClamSMTP on poseidon.cloudzeeland.nl X-Rspamd-Queue-Id: 48zGZk4Jp3z3xbd X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cloudzeeland.nl header.s=cloud header.b=XWsh/Fcy; dkim=pass header.d=cloudzeeland.nl header.s=cloud header.b=7fYqSMyR; dmarc=none; spf=pass (mx1.freebsd.org: domain of bsduser@cloudzeeland.nl designates 83.161.133.58 as permitted sender) smtp.mailfrom=bsduser@cloudzeeland.nl X-Spamd-Result: default: False [-4.89 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[cloudzeeland.nl:s=cloud]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; HAS_ORG_HEADER(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DMARC_NA(0.00)[cloudzeeland.nl]; DKIM_TRACE(0.00)[cloudzeeland.nl:+]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; IP_SCORE(-2.39)[ip: (-9.79), ipnet: 83.160.0.0/14(-2.13), asn: 3265(-0.04), country: NL(0.03)]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:3265, ipnet:83.160.0.0/14, country:NL]; MID_RHS_MATCH_FROM(0.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 11:51:59 -0000 I have added a line to my crontab that defines running a script on reboot: @reboot bash /root/cronjobs/reboot.sh & This (bash) .sh script should add an updated ipfw table (preventing I have to run his action manually) but unfortunately no script is executed on reboot. - script is executable - no action is mentioned in /var/log/cron Can you tell me what I do wrong here? Perhaps scheduling this action _after_ reboot would be the solution? Thanks, Jos Chrispijn