[MPlayer-users] backgrounded mplayer in cron job

Vitezslav Kotrla vitko at post.cz
Fri Jun 29 00:04:17 CEST 2007


I can't get mplayer running in cron job; my idea was to use something
like

   mplayer _record_some_stream_ &
   sleep 5m
   kill $!

I've noticed mplayer hasn't run in cronned job, even if my test script
was ok when called from console. Then I googled some info about stdin
redirection e.g. here

http://lists.mplayerhq.hu/pipermail/mplayer-users/2006-January/057612.html

and here

http://lists.mplayerhq.hu/pipermail/mplayer-users/2004-May/045453.html

but then even 

   mplayer _record_some_stream_ </dev/null &
   sleep 5m
   kill $!

doesn't work in cron job; I can see sleep command running, but no
mplayer.

It is late at night here and maybe I missed some trivial error, please
could someone verify this issue?

Vit




More information about the MPlayer-users mailing list