Skip to content
View in the app

A better way to browse. Learn more.

Learn more

play video for every five minutes in orange pi one

Featured Replies

I want to play video on my orange pi one (armbian jessie OS) for every 5 minutes. I use

crontab -e

And added

  */5 * * * * orangepi  /usr/bin/vlc  /home/orangepi/video.mp4

 

In the last line of file .but it isn't working ,so how can play video for every five minutes?

Edited by isan98

  • Author
15 hours ago, martinayotte said:

"orangepi" is not a command or script ... Your crontab should look like :


*/5 * * * * /usr/bin/vlc  /home/orangepi/video.mp4

 

I edit it but still it is not working!

  • Author
7 minutes ago, guidol said:

does the command work - without cron - from the commandline?

yes /usr/bin/vlc  /home/orangepi/video.mp4 work fine

sometimes - I got this here - it does help to put the command in .sh-shell script give chmod *.sh 755 and put the script as command in the crontab.

maybe in the first line of the script the

# /bin/bash

Guest
This topic is now closed to further replies.

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.