[arm-allstar] Time announcement at the top of the hour

Kevin Davis blu666z at gmail.com
Mon Mar 22 15:40:48 EDT 2021


This site is a fantastic tool for verify your cron job timings are valid syntactically.  

https://crontab.guru/


> On Mar 22, 2021, at 12:31 PM, Nate Bargmann via ARM-allstar <arm-allstar at hamvoip.org> wrote:
> 
> 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
> 
> _______________________________________________
> 
> ARM-allstar mailing list
> ARM-allstar at hamvoip.org
> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
> 
> Visit the BBB and RPi2/3/4 web page - http://hamvoip.org


More information about the ARM-allstar mailing list