CRON setting for a net

Help with D-Star related issues
Post Reply
W8DSB
Posts: 30
Joined: Thu Jun 14, 2018 5:54 pm

CRON setting for a net

Post 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
W8DSB
Posts: 30
Joined: Thu Jun 14, 2018 5:54 pm

Re: CRON setting for a net

Post 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
W8DSB
Posts: 30
Joined: Thu Jun 14, 2018 5:54 pm

Re: CRON setting for a net

Post 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?
Post Reply