Date: Fri, 10 Apr 2020 15:25:31 -0400 From: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> To: Jos Chrispijn <bsduser@cloudzeeland.nl> Cc: freebsd-questions@freebsd.org Subject: Re: Cron config for ipfw table Message-ID: <44blnzta6s.fsf@be-well.ilk.org> In-Reply-To: <dba61fc0-ca97-d066-06f7-61273e80765b@cloudzeeland.nl> (Jos Chrispijn's message of "Fri, 10 Apr 2020 13:51:51 %2B0200") References: <dba61fc0-ca97-d066-06f7-61273e80765b@cloudzeeland.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
Jos Chrispijn <bsduser@cloudzeeland.nl> writes: > 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? Is there any reason that you can't use the system's standard ipfw script for that?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44blnzta6s.fsf>