The Cookie Machine - Click here to drag window

DUMMY TEXT - Real text set in assets/js/theCookieMachine.js

Views: 1,031     Votes:  3 
Tags: sound   pulseaudio   alsa   cron   15.04  
Link: 🔍 See Original Answer on Ask Ubuntu 🔗

URL: https://askubuntu.com/q/1045336
Title: How to make speaking clock (via cron and festival tts) work while playing music
ID: /2018/06/10/How-to-make-speaking-clock-_via-cron-and-festival-tts_-work-while-playing-music
Created: June 10, 2018    Edited:  June 10, 2018
Upload: November 24, 2022    Layout:  post
TOC: false    Navigation:  false    Copy to clipboard:  false


As per this answer: Can I use cron to chime at top of hour like a grandfather clock?6 you need to export an environment variable before playing sounds in your cron script:

export XDG_RUNTIME_DIR="/run/user/1000"
⇧ I cannot use MySql as normal user in Ubuntu 18.04 Help using crontab to play a sound  ⇩