I have Rock Pi 4B 4GB. I’ve just received external display which is connected via HDMI and offers touch screen via USB (power is through USB). I don’t use the touch.
What I am trying to do is set up a clock on this display. What I have done is:
- I’ve put line in crontab:
* * * * * root /root/clock3
- Installed needed packages via
apt
- File
/root/clock3
content is:
pgrep tty-clock || tty-clock -crs -T /dev/tty1
(Crontab does not need & as all commands are run in background.)
When clock3 is run manually - everything is fine (needed to add & at the end of the command).
But starting from crontab nothing happens.
/var/mail/root
says only PID.
/var/log/syslog
says nothing.
Any ideas?