[arm-allstar] Time announcement at the top of the hour
Nate Bargmann
n0nb at n0nb.us
Mon Mar 22 13:35:55 EDT 2021
David already showed how to completely disable the time announcements,
but they can be customized in various ways.
On one repeater I have the announcements running from 8 AM to 9 PM with
the weather announcement:
# Top of the hour time and weather announcement
00 08-21 * * * (source /usr/local/etc/allstar.env ; /usr/bin/nice -19 /usr/bin/perl /usr/local/sbin/saytime.pl 66508 $NODE1 >
+/dev/null)
On another repeater that is still in testing mode I limit the
announcement to 9 AM to 9 PM but only say the time every three hours:
00 09,12,15,18,21 * * * (source /usr/local/etc/allstar.env ; /usr/bin/nice -19 /usr/bin/perl /usr/local/sbin/saytime.pl $NODE1 >
+/dev/null)
In these examples you can see how to use a range or a list for the
hours. The same syntax can be used for the other fields. There are
other ways to specify the time steps.
While it may be terse, 'man 5 crontab' is the reference for the crontab
file.
73, Nate
--
"The optimist proclaims that we live in the best of all
possible worlds. The pessimist fears this is true."
Web: https://www.n0nb.us
Projects: https://github.com/N0NB
GPG fingerprint: 82D6 4F6B 0E67 CD41 F689 BBA6 FB2C 5130 D55A 8819
More information about the ARM-allstar
mailing list