Dear all,
I'm an owner of a Raspberry Pi 3 unit which I'm currently testing for digital signage use. The problem i'm having is with bash commands calling chromium-browser.
startup script
Location: /home/pi/Scripts/startup.sh
Cron -l (in sudo mode)
30 9 * * * /home/pi/Scripts/startup.sh
-----------------------------------------------------------
!#/bin/bash
#Reset OS
#/sbin/shutdown -r now
#Launch Chromium
/usr/bin/chromium-browser
#End
-----------------------------------------------------------
File permissions are set all to anyone
If i run this script from terminal it works fine, however if i can this via crontab at the specified time it never executes, therefore chromium never starts. However if i comment the command to launch chromium and instead remove the comment from the restart OS command it works fine. So i believe that i'm doing something wrong when it comes to launching the application.
Can anyone highlight the issue? as i'm really puzzled.
Hope I provided you with all information needed, thanks in advance for your help!