Skip to content

Virtual bells ring the Westminster Quarters triggered by a cronjob,

Notifications You must be signed in to change notification settings

koppi/westminster-clock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Westminster Clock with Cron

The Westminster Quarters is the most common name for a melody used by a set of clock bells to chime on each quarter-hour. The number of chime sets matches the number of quarter hours that have passed.

Installation

To setup a virtual westminster clock that get's triggered with a cronjob, run:

sudo apt -y install git make sox alsa-utils ntp
git clone https://github.com/koppi/westminster-clock
cd westminster-clock
sudo make install

With crontab -e add to your crontab:

 0 * * * * westminster-clock hour
15 * * * * westminster-clock quarter
30 * * * * westminster-clock half
45 * * * * westminster-clock three-quarter

– Tested on Raspbian 8.1 and Ubuntu 16.04 - Ubuntu 22.04.

Credits

License

  • The files in this repository are licensed under the Creative Commons 0 License.

About

Virtual bells ring the Westminster Quarters triggered by a cronjob,

Topics

Resources

Stars

Watchers

Forks

Sponsor this project