Originally Posted by
henriquemaia
So, you add to what is explained
here:
Code:
01 04 * * * /usr/bin/somedirectory/somecommand
the
export variable, like this:
Code:
01 04 * * * export DISPLAY=:0 && /usr/bin/somedirectory/somecommand
Actually, you don't need to export the variable:
Code:
01 04 * * * DISPLAY=:0 /usr/bin/somedirectory/somecommand
is enough for the program to work.
Also, you are assuming that you will run the application on display :0
Bookmarks