Re: [OT] need crontab help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux