Howto make sure nagstamon is running on your desktop

Add the following line to your (desktop user, not root) crontab:
This will start nagstamon and make sure user doesn’t closes them. Tricky is configuration of connection to you Xserver / graphical environment.
But solution is simple: set $DISPLAY environment variable to :0.0 value, which means ‘use the first desktop running on localhost’. Did you know xauth list command?