From owner-freebsd-questions@freebsd.org Fri Apr 10 18:14:21 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 2E3172C4FED for ; Fri, 10 Apr 2020 18:14:21 +0000 (UTC) (envelope-from shamim.shahriar@gmail.com) Received: from mail-qk1-x729.google.com (mail-qk1-x729.google.com [IPv6:2607:f8b0:4864:20::729]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48zR3w38DZz4Nsj for ; Fri, 10 Apr 2020 18:14:20 +0000 (UTC) (envelope-from shamim.shahriar@gmail.com) Received: by mail-qk1-x729.google.com with SMTP id z15so2993920qki.7 for ; Fri, 10 Apr 2020 11:14:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=nX084q2TKALBZotTUEDKBSVsblLUTveGjDA654jyYUA=; b=GzpVjAqB2krL2+xRAHzEtTh09lwQS/1QJEeLIPoVQWVINoLUzMeRkPl/XPXCKm/fpK MmehVI6E9zzE1T3L4InCDtq5cuDiAHpOF1pL0y/iUzTbzCSUx33RPa4MpJ4fOYh0kDfc PSecwZUnDTO3dYuMRgo+5EMqNnBBfsFY9ziiPTysVIWAlu4OFDvkpmUA2FFat4UcRAUM cG7XjHnch83Pa6YIeG77TmC7XjK8JDXT4awOjvJYC0kHgWnrh/VG2AY1SGgR/QBYqZp9 cki49t9KpaZkUw1lr3aLgJdSaN0w0YSS8ZuH6izATrCUvWXNnh5KzJM1QOJvyCUsqa0X rELA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=nX084q2TKALBZotTUEDKBSVsblLUTveGjDA654jyYUA=; b=jjuMaPS7qzrYaAbrYWUa4y9vZ1/pEJ+8BXQCUIkl49Ulab9B/2FFY1XlFrhvFM4Ub/ rT8TeDKI5/FEU4NBsO3YqkGkp+lOsHyuuc5QVXC1frHeHrVKgpurb5mUZ9sR7EwkI86o qAYmK7IuTmiHCPKEDLt3UvHRL/IOCFVkSaKGuXD7LG3r9E0/Il2yXckfOQ/DpX2WiEbZ 6uNwpWr8X0o8ar91erWnO7QtGulKoCiyyA2++9GS2hCpoxmO3qCLE1+rlnflrSgXDjYi /jfuRe8VTFZf6b1xZGSUQwe4zjd2R17kqjlvHoj/WqWG7t0FPSl/DPwLegOCTDlKe/CT CNWA== X-Gm-Message-State: AGi0PuYD8OX8bmKBLBhntllKLN7WvlGY6dbgNTHgcEZ/I/erg5eRZwFL znBujLi4Fp0ZaAiDb7kpSpSDhThJFw/q1aFwAUkp X-Google-Smtp-Source: APiQypK3KlXJI9pP8D1DvgFUzEnn5tKjUUh//GGGAoGlDgige3gIdN3HoSW0maKmVg1b6RyGVs0/LPT/NFS9rGg5sMI= X-Received: by 2002:a37:5209:: with SMTP id g9mr5382281qkb.237.1586542459363; Fri, 10 Apr 2020 11:14:19 -0700 (PDT) MIME-Version: 1.0 References: <20200410083854.0000516d@seibercom.net> <4c9fa960-f367-9beb-4c00-810b34e3e672@cloudzeeland.nl> In-Reply-To: <4c9fa960-f367-9beb-4c00-810b34e3e672@cloudzeeland.nl> From: Shamim Shahriar Date: Fri, 10 Apr 2020 19:14:10 +0100 Message-ID: Subject: Re: Cron config for ipfw table To: Jos Chrispijn Cc: "freebsd-questions@FreeBSD.org" , Jerry X-Rspamd-Queue-Id: 48zR3w38DZz4Nsj X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=GzpVjAqB; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of shamimshahriar@gmail.com designates 2607:f8b0:4864:20::729 as permitted sender) smtp.mailfrom=shamimshahriar@gmail.com X-Spamd-Result: default: False [-2.00 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; URI_COUNT_ODD(1.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (-9.02), ipnet: 2607:f8b0::/32(-0.33), asn: 15169(-0.43), country: US(-0.05)]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[9.2.7.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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 18:14:21 -0000 Hi, just wondering, did you symlink bash in /bin? Or did you manually put it there? In FreeBSD it is /bin/sh or /use/local/bin/bash (and bash needs to be installed from ports). The & at the end of that cronjob should make no difference, in this case at least. Hope this helps. All the best. On Fri, 10 Apr 2020, 18:46 Jos Chrispijn, wrote: > 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 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" >