Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Apr 2020 13:51:51 +0200
From:      Jos Chrispijn <bsduser@cloudzeeland.nl>
To:        freebsd-questions@freebsd.org
Subject:   Cron config for ipfw table
Message-ID:  <dba61fc0-ca97-d066-06f7-61273e80765b@cloudzeeland.nl>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?dba61fc0-ca97-d066-06f7-61273e80765b>