Monday, April 29, 2024
24
rated 0 times [  24] [ 0]  / answers: 1 / hits: 4344  / 2 Years ago, fri, april 29, 2022, 3:40:17

I want to get a program (a script that can be set to auto-start or something) that tells you every hour like "It's 11 o'clock."



I know it's easy on Macs, but how do you get that on Precise?


More From » software-recommendation

 Answers
1

There's a program in the standard repos for it, saytime.



sudo apt-get install saytime



Then you can run saytime -r 3600 to run it every hour (3600 seconds, or change the number for a different interval in seconds). It will start as a background process when run with this option.



If you want to change the format (for example to remove the "and X seconds") it would be saytime -r 3600 -f %P%l%M - full format options in man saytime.



Source: http://ubuntuforums.org/showthread.php?t=516600&p=3130400#post3130400


[#31187] Saturday, April 30, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
untroo

Total Points: 3
Total Questions: 110
Total Answers: 95

Location: Palestine
Member since Thu, Oct 28, 2021
3 Years ago
;