While the same command in a terminal will work as expected, showing in the screen a white rectangle with the "something" text, and when clicked, disappears, when invoked by cron, it segfaults, thought it also shows the rectangle and respond to the click.
benalb@t410 ~
dzen2 -v dzen-0.9.5-svn, (C)opyright 2007-2009 Robert Manea Enabled optional features: XFT XINERAMA
crontab -l 0 /4 export DISPLAY=:0 && echo "something something, something" | dzen2 -fg black -bg white -geometry 500x80 -p -e 'button1=exit'
While the same command in a terminal will work as expected, showing in the screen a white rectangle with the "something" text, and when clicked, disappears, when invoked by cron, it segfaults, thought it also shows the rectangle and respond to the click.
I managed to get a core dump and a backtrace with gdb: https://pastebin.com/qLHk4d1W