Page 1 of 1

CRON setting for a net

Posted: Tue Sep 07, 2021 12:54 am
by W8DSB
I have a issue. We have a state wide ARES net each Monday. I change the repeater over to connect to the net via a CRON but if someone comes along with a different reflector in their radio it changes the repeater. I know I can turn off the ability to change reflectors but how do I do it via CRON?

#Monday ARES net
58 19 * * 1 root /usr/local/sbin/pistar-link ref024_a
00 21 * * 1 root /usr/local/sbin/pistar-link xrf982_b

What I need:
#Monday ARES net
58 19 * * 1 root /usr/local/sbin/pistar-link ref024_a
restriction =0
00 21 * * 1 root /usr/local/sbin/pistar-link xrf982_b
restriction =1

Re: CRON setting for a net

Posted: Tue Sep 07, 2021 4:44 pm
by W8DSB
Thanks, I made the chances to the repeater but I have not had time to try them. I hope to provide them out before next Monday's net

Re: CRON setting for a net

Posted: Tue Sep 07, 2021 6:42 pm
by W8DSB
This is what I came up with, thanks to you:

#Monday ARES net
58 19 * * 1 root /usr/local/sbin/pistar-link unlink
59 19 * * 1 root /usr/local/sbin/pistar-link ref024_a fixed
58 20 * * 1 root /usr/local/sbin/pistar-link ref024_a
59 20 * * 1 root /usr/local/sbin/pistar-link unlink
00 21 * * 1 root /usr/local/sbin/pistar-link xrf982_b

Now is there anyway to lockout the other MODES like DMR during this same time frame?