search for: thecomputername

Displaying 1 result from an estimated 1 matches for "thecomputername".

2007 Apr 20
2
R in cron job: X problems
...en cron invokes the job, no X server is available -- I suppose that the DISPLAY variable is not set -- and so R exits with an error message in the output file. (If I run the same script in an environment where an X server is properly available, it works as I want it to.) I tried setting DISPLAY to thecomputername:0.0 (where "thecomputername" is the X.Y.Z form of the computer's name as names it for ssh etc.), but that didn't work. Any advice about how to persuade the graphics subsystem to bypass X, or how to set DISPLAY in a safe way to run in a cron job? This is a linux system (a recent...