Re: [OT] need crontab help

2022-02-18 Thread Mike Wright
On 2/18/22 00:22, Barry wrote: On 18 Feb 2022, at 01:53, Mike Wright 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 se

Re: [OT] need crontab help

2022-02-18 Thread Tim via users
On Thu, 2022-02-17 at 17:39 -0800, Mike Wright 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 aud

Re: [OT] need crontab help

2022-02-18 Thread Barry
> On 18 Feb 2022, at 01:53, Mike Wright wrote: > > Hi all, > > 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, mu

Re: [OT] need crontab help

2022-02-17 Thread Tom Horsley
On Thu, 17 Feb 2022 17:39:18 -0800 Mike Wright wrote: > Anybody explain why this doesn't do what I intend? Odds are good something in your login environment is required. DBUS_SESSION_BUS_ADDRESS is one good candidate. Lots of linux tools don't directly do anything, but instead connect to DBUS to

[OT] need crontab help

2022-02-17 Thread Mike Wright
Hi all, 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. Fro