Re: Debian 9 cron = sounds are ok : Debian 11 cron no sound

2022-07-22 Thread Roger Price
On Thu, 21 Jul 2022, Dekks Herton wrote: Roger Price writes: Command cat /sys/devices/cpu/caps/pmu_name reports: westmere I should have said also that command inxi -Fix reports MCP arch: Nehalem, which is specified in more detail by the reference E5645 at

Re: Debian 9 cron = sounds are ok : Debian 11 cron no sound

2022-07-21 Thread Dekks Herton
Roger Price writes: > On Mon, 18 Jul 2022, Dekks Herton wrote: >> What kernel is 11 running? are you using a Haswell or Broadwell CPU? > > Command inxi reports: > System:Host: titan Kernel: 5.10.0-15-amd64 x86_64 bits: 64 > Desktop: Xfce 4.16.0 Distro: Debian GNU/Linux 11

Re: Debian 9 cron = sounds are ok : Debian 11 cron no sound

2022-07-18 Thread Roger Price
On Mon, 18 Jul 2022, Dekks Herton wrote: What kernel is 11 running? are you using a Haswell or Broadwell CPU? Command inxi reports: System:Host: titan Kernel: 5.10.0-15-amd64 x86_64 bits: 64 Desktop: Xfce 4.16.0 Distro: Debian GNU/Linux 11 (bullseye) Machine: Type: Desktop

Re: Debian 9 cron = sounds are ok : Debian 11 cron no sound

2022-07-18 Thread Dekks Herton
Roger Price writes: > This ran for years with Debian 9. I upgrade to Debian 11 and hear > nothing. The usual advice is > (a) in /etc/crontab export XDG_RUNTIME_DIR=/run/user/1000 > (b) play the sound from a script. > > But that doesn't work with Debian 11. Does any reader of this list > have

Re: Debian 9 cron = sounds are ok : Debian 11 cron no sound [Solved]

2022-07-18 Thread Roger Price
On Sun, 17 Jul 2022, 16 Jul 2022, Lee wrote: Nope. Audio has always just worked; I never had to do anything special or extra to get it working Following https://wiki.archlinux.org/title/PulseAudio/Examples , I installed file ~/.config/pulse/default.pa .include /etc/pulse/default.pa

Re: Debian 9 cron = sounds are ok : Debian 11 cron no sound

2022-07-17 Thread Roger Price
On Sun, 17 Jul 2022, Lee wrote: On 7/17/22, The Wanderer wrote: I don't use cron to play sounds, so I can't speak to this directly, but... While this may turn out in the end to be pure FUD, when I hear about things which work properly when run by hand but not when run automatically on a

Re: Debian 9 cron = sounds are ok : Debian 11 cron no sound

2022-07-17 Thread Dan Ritter
Roger Price wrote: > On Sat, 16 Jul 2022, Lee wrote: > > > I don't have play, so I tried aplay .. and it works, even if I'm > > logged out, even if someone else is logged in. > > > > ## run the script every minute > > > > $ crontab -l | tail -3 > > # m h dom mon dow command > > * * * *

Re: Debian 9 cron = sounds are ok : Debian 11 cron no sound

2022-07-17 Thread Lee
On 7/17/22, The Wanderer wrote: > On 2022-07-16 at 04:47, Roger Price wrote: > >> People occasionally have a cron job emit some sound each hour. On my >> Debian 9 >> machine I hear Biff [1] barking. In /etc/crontab I have an entry to call a >> >> script bark.sh which does the barking. Typically

Re: Debian 9 cron = sounds are ok : Debian 11 cron no sound

2022-07-17 Thread The Wanderer
On 2022-07-16 at 04:47, Roger Price wrote: > People occasionally have a cron job emit some sound each hour. On my Debian > 9 > machine I hear Biff [1] barking. In /etc/crontab I have an entry to call a > script bark.sh which does the barking. Typically > > 0,1 0,12 * * * rprice

Re: Debian 9 cron = sounds are ok : Debian 11 cron no sound

2022-07-17 Thread Lee
On 7/16/22, Roger Price wrote: > On Sat, 16 Jul 2022, Lee wrote: > >> I don't have play, so I tried aplay .. and it works, even if I'm >> logged out, even if someone else is logged in. >> >> ## run the script every minute >> >> $ crontab -l | tail -3 >> # m h dom mon dow command >> * * * *

Re: Debian 9 cron = sounds are ok : Debian 11 cron no sound

2022-07-16 Thread Roger Price
On Sat, 16 Jul 2022, Lee wrote: I don't have play, so I tried aplay .. and it works, even if I'm logged out, even if someone else is logged in. ## run the script every minute $ crontab -l | tail -3 # m h dom mon dow command * * * * */home/lee/bin/neener.sh ## which plays a .wav

Re: Debian 9 cron = sounds are ok : Debian 11 cron no sound

2022-07-16 Thread Lee
On 7/16/22, Roger Price wrote: > People occasionally have a cron job emit some sound each hour. On my Debian > 9 > machine I hear Biff [1] barking. In /etc/crontab I have an entry to call a > script bark.sh which does the barking. Typically > > 0,1 0,12 * * * rprice full-path-to/bark.sh 12

Debian 9 cron = sounds are ok : Debian 11 cron no sound

2022-07-16 Thread Roger Price
People occasionally have a cron job emit some sound each hour. On my Debian 9 machine I hear Biff [1] barking. In /etc/crontab I have an entry to call a script bark.sh which does the barking. Typically 0,1 0,12 * * * rprice full-path-to/bark.sh 12 2>>&1 where bark.sh is a Bash script which