Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Apr 2020 19:14:10 +0100
From:      Shamim Shahriar <shamim.shahriar@gmail.com>
To:        Jos Chrispijn <bsduser@cloudzeeland.nl>
Cc:        "freebsd-questions@FreeBSD.org" <freebsd-questions@freebsd.org>, Jerry <Jerry@seibercom.net>
Subject:   Re: Cron config for ipfw table
Message-ID:  <CAOyJeZQ2Ze0GfaNYe%2B4j%2BiFLUU-v%2BJwdwSQ4UYvJ9US%2B_TbbYQ@mail.gmail.com>
In-Reply-To: <4c9fa960-f367-9beb-4c00-810b34e3e672@cloudzeeland.nl>
References:  <dba61fc0-ca97-d066-06f7-61273e80765b@cloudzeeland.nl> <20200410083854.0000516d@seibercom.net> <4c9fa960-f367-9beb-4c00-810b34e3e672@cloudzeeland.nl>

next in thread | previous in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOyJeZQ2Ze0GfaNYe%2B4j%2BiFLUU-v%2BJwdwSQ4UYvJ9US%2B_TbbYQ>