[Tfug] Running mplayer with cron or at

Robert Hunter bobjim.hunter at gmail.com
Tue Apr 4 13:14:36 MST 2006


Caleb, welcome to the list ;-)  I don't know if this helps, but it
works for me.  At 13:15 xeyes launches on my running display.


zog(13:11:41)[ /scratch/rhunter ]
: cat foo
#!/bin/sh
export DISPLAY=:0
xeyes

zog(13:12:49)[ /scratch/rhunter ]
: at -f /scratch/rhunter/foo 13:15
warning: commands will be executed using /bin/sh
job 3 at Tue Apr  4 13:15:00 2006





On 4/4/06, Caleb Mucklow <cmucklow at gmail.com> wrote:
> This is my first posting on TFUG, so hello everyone. I'm currently working
> on making a "movie channel" for my work. I need to be able to launch movies
> at a specific time. however when I setup a cron job or an at job to execute
> mplayer with a movie it runs as a daemon and i can only hear the sound and
> not see the video. Is there a way I can tell mplayer to execute in a
> specific tty console session, preferably my X-windows session. Any
> recommendations to my current setup are also welcomed.
>
> I'm running Debian Stable. If you have any more questions about my current
> setup please feel free to ask. Thanks, Caleb
> _______________________________________________
> Tucson Free Unix Group - tfug at tfug.org
> Subscription Options:
> http://www.tfug.org/mailman/listinfo/tfug
>


--
Rob


More information about the tfug mailing list