Clock

Charles Bacon crtb at cape.com
Tue Feb 19 22:12:20 GMT 2008


Sorry, I thought Linux + FreeBSD were close enough.
In FreeBSD you ask crontab to do your script any minute of the
day, week, or year etc.  Your script might have to ask the audio
network database management control subsystem to submit a half-second
MP3 file every half hour :-}
 	Chuck Bacon

On Tue, 19 Feb 2008, walt kautz wrote:

> hey charles I dont know how 2 make it chime.do you
> know how 2 run linux & windows on the same machine?
> --- Charles Bacon <crtb at cape.com> wrote:
>
>> Here's my solution: crontab, a tiny shell script,
>> and a suitable .au
>> file for /dev/au.
>>   	Chuck Bacon -- crtb at cape.com
>>   		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 at cape.com
>>   		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>
> ___________________________________________________
>> 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.
>
>
>
>      ____________________________________________________________________________________
> Never miss a thing.  Make Yahoo your home page.
> http://www.yahoo.com/r/hs
> ___________________________________________________
> 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.
>
___________________________________________________
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.




More information about the kde mailing list