If your cronjob invokes GUI-apps, you need to tell them what DISPLAY they should use.
Example: Firefox launch with cron.
Your script should contain export DISPLAY=:0 somewhere.
If your cronjob invokes GUI-apps, you need to tell them what DISPLAY they should use.
Example: Firefox launch with cron.
Your script should contain export DISPLAY=:0 somewhere.