I have a video of 5min duration in my home folder in ubuntu. The video has to be played every hour in the foreground. How can I do it?
Here I think the simplest solution. Type in terminal: crontab -e and choice editor (if this is the first launch). And insert it:
0 * * * * export DISPLAY=:0 && vlc /home/user/video_name.mp4
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
vlc - my favorite videoplayer)) You may use other)) Good luck! Read more about cron - click