Here's my solution: crontab, a tiny shell script, and a suitable .au file for /dev/au. Chuck Bacon -- crtb@xxxxxxxx ABHOR SECRECY -- DEFEND PRIVACY On Fri, 15 Feb 2008, sean wrote:
Does anyone know if the clock can be made to chime on the hour, 1/2 hour, or some optional setting? Thanks Sean ___________________________________________________ This message is from the kde mailing list. Account management: https://mail.kde.org/mailman/listinfo/kde. Archives: http://lists.kde.org/. More info: http://www.kde.org/faq.html.
Here's my solution: crontab, a tiny shell script, and a suitable .au file for /dev/au. Chuck Bacon -- crtb@xxxxxxxx ABHOR SECRECY -- DEFEND PRIVACY ----- Add to your .crontab if you have one, otherwise invent your own ----- # Sample crontab entry fires off the cuckoo clock once per hour, exc. at night. 0 8-22 * * * "/home/crtb/music/sounds/cuckoo.clock" ----- copy this along with cuckoo.au into your own bin directory ----- #!/bin/sh # Play the cuckoo clock for the most recent hour hr=`date "+%l"`; while [ $hr -gt 0 ] ; do cat ~/bin/cuckoo.au > /dev/audio hr=`expr $hr - 1` done
Attachment:
cuckoo.au
Description: Basic audio
___________________________________________________ This message is from the kde mailing list. Account management: https://mail.kde.org/mailman/listinfo/kde. Archives: http://lists.kde.org/. More info: http://www.kde.org/faq.html.