Cron config for ipfw table

Jos Chrispijn bsduser at cloudzeeland.nl
Fri Apr 10 11:51:59 UTC 2020


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


More information about the freebsd-questions mailing list