I have a root crontab (sudo crontab -e), in a bash script I check if the user is my main account (so not root or any other user).
The variable $CHECK_XHOST is empty here