Audio with CRON works - not AT?
Bill Davidsen
davidsen at tmr.com
Thu Apr 8 19:58:42 UTC 2010
Philip Rhoades wrote:
> People,
>
> When I put:
>
> 40 21 * * * root /usr/bin/mplayer -ao alsa
> /home/phil/audio/vincent_van_gogh.mp3
>
> in /etc/crontab - it works but if use "at" for any time and enter:
>
> /usr/bin/mplayer -ao alsa /home/phil/audio/vincent_van_gogh.mp3
>
> - at the designated time I hear a click as though something happens but
> no audio clip.
>
> Anyone know why "at" doesn't behave?
The environment is not the same, that's likely to be related. But I use 'at' for
an alarm clock, so if I get busy my system plays a nice reminder to get me
moving, and that works just fine.
So it's peculiar to your system, or environment. And if you use alsa without
pulse you are definitely exploring some lightly checked interactions.
--
Bill Davidsen <davidsen at tmr.com>
"We have more to fear from the bungling of the incompetent than from
the machinations of the wicked." - from Slashdot
More information about the users
mailing list