https://github.com/librity/announce_the_time
Simple bash scripts that annouces the time, much like in macos.
https://github.com/librity/announce_the_time
announce bash cronta linux
Last synced: about 2 months ago
JSON representation
Simple bash scripts that annouces the time, much like in macos.
- Host: GitHub
- URL: https://github.com/librity/announce_the_time
- Owner: librity
- License: mit
- Created: 2021-02-25T21:42:52.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-02-25T12:05:24.000Z (over 4 years ago)
- Last Synced: 2025-01-08T07:40:01.927Z (over 1 year ago)
- Topics: announce, bash, cronta, linux
- Language: Shell
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Announce the bloody time
Simple bash script that annouces the time every hour, much like in macos:
- https://ioshacker.com/how-to/mac-announce-time-every-hour-guide
Inspired by this stack exchange question:
- https://askubuntu.com/questions/686938/announce-the-time-on-the-hour
It uses `festival` as its text-to-speech engine:
- https://github.com/festvox/festival
## Ubuntu Installation
1. Install `festival` with `apt-get`:
```bash
$ sudo apt-get install festival
```
2. Clone this repo to your home directory:
```bash
$ git clone https://github.com/librity/announce_the_time.git ~/.announce_the_time
```
3. Open/create your `crontab`:
```bash
$ EDITOR="nano" VISUAL="nano" crontab -e
```
4. Add this job to your `crontab` and save it:
```cron
@hourly ~/.announce_the_time/on_the_hour.sh
```
5. Verify that the job was added to your `crontab`:
```bash
$ crontab -l
```