Cron config for ipfw table

Shamim Shahriar shamim.shahriar at gmail.com
Fri Apr 10 18:14:21 UTC 2020


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, <bsduser at cloudzeeland.nl> 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 at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe at freebsd.org"
>


More information about the freebsd-questions mailing list