LibreOffice and Cron - nothing appears on display

I’m hoping someone brighther than I can assist with this delimna (likely anyone other than me). Really scratching my head over this. Running Raspbian v11. LibreOffice 7.0.4.2.

Basic terminal commmand works fine - “/usr/lib/libreoffice/program/soffice”

But when I put this simple command into the crontab, it starts (as I can see the process using PS AUX), but nothing is on the screen. I’ve tried --nologo, --display, --quickstart=no… no matter what nothing is displayed and I have to kill the process manually. I’ve even tried sudo.

I’m just simply trying to display an Simpress slide show but can’t even get the most basic libreoffice command to work from Crontab.

Any help would be greatly appreciated.

“Cron runs in an environment that knows nothing about the display manager…”
See: firefox - How to start a GUI application from cron? - Ask Ubuntu

Wile E. Coyote :Genius

You’re a gentleman and a scholar sir. --display :0.0 worked like a charm. I thank thee.