On 19/10/10 16:11, Simon O'Riordan wrote:
The 'Alarm Clock' utility is now ready for download. Read the Readme,
choose your type, and if you want, give me feedback so I can improve it.
Simono
I think the gold standard is that it should be at least as good as using
"at". For example:-
joh...@liberator:~/simono$ echo "aplay wakejap.wav" | at 16:45
job 8 at Tue Oct 19 16:45:00 2010
joh...@liberator:~/simono$ echo "aplay wakejap.wav" | at 16:50
job 9 at Tue Oct 19 16:50:00 2010
joh...@liberator:~/simono$ atq
8 Tue Oct 19 16:45:00 2010 a johncc
9 Tue Oct 19 16:50:00 2010 a johncc
joh...@liberator:~/simono$ atrm 9
joh...@liberator:~/simono$ atq
8 Tue Oct 19 16:45:00 2010 a johncc
joh...@liberator:~/simono$
So as a suggested feature list:-
* execution of arbitrary commands when alarms go off, as well as a
preset for sounds (perhaps scan for aplay, paplay, play, mplayer ...)
* add/remove/list multiple alarms
* persist alarms to a text file in ~/config between instances
Perhaps you could also look into splitting it into a daemon and a front
end, communicating with sockets?
Best regards,
John
--
Next meeting: Crown Hotel, Blandford Forum, Tuesday 2010-11-02 20:00
Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/
How to Report Bugs Effectively: http://goo.gl/4Xue