On 2/18/22 00:22, Barry wrote:
On 18 Feb 2022, at 01:53, Mike Wright <nobody@xxxxxxxxxxxxxxxxxxxx> wrote:
There is a java app that writes directly to the pulseaudio MASTER channel at full volume twice a day. I'm pretty sure the neighbors hear it. My idea is to use crontab to run at 12:59 Monday-Friday. It waits 59 seconds, mutes the audio, waits 6 more seconds and unmutes the audio.
<snip/>
Personally I do not use cron anymore, I use system timer units.
Then I can look in the journal —user for all logs from the service.
Thanks Barry,
Exposed me to systemd timers.
Project ended up with 2 timer/service pairs: mute and unmute
Each has two OnCalendar rules: one for morning timings, the other
afternoons.
A further dig into pulseaudio utils and sounds ease away twice a day.
Nice...
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure