I need to automatically play a video file at 6:30 AM and stop it at 10:30PM. So i used VLC. I`ve set the crontab as follow:
30 06 * * * user /usr/bin/vlc --loop /home/user/a.wmv
30 22 * * * user killall -9 vlc
the crontab does his job cause I see in /var/log/message that is executing. BUT nothing happends...nothing appears on the screen...if I manually run the command "/usr/bin/vlc --loop /home/user/a.wmv" from a shell everything works fine.
Can u ...someone... help me ?