The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #5 (permalink)  
Old 07-04-2009
joojoo joojoo is offline
Registered User
  
 

Join Date: Jul 2009
Posts: 1
For test:
Code:
*/1 * * * * username export DISPLAY=':0' && xhost local:username && xmessage "Running GUI application from cron"
It works for me, good luck.