Cron doesn't execute one of the scheduled jobs
- by user288633
I'm using a lubuntu desktop, distribution Ubuntu 13.10, i686. This is my problem:
in the job list scheduled by cron a job hasn't effect, but in /var/log/syslog its execution is traced. This is the relative log line:
Jun 4 09:06:01 kiosk CRON[14189]: (root) CMD (/usr/bin/xinput set-prop 12 --type=float "Coordinate Transformation Matrix" 0 -1 1 1 0 0 0 0 1 /tmp/mybackup.log)
This job should rotate touchscreen mapping.
I try different solutions: I substitute in crontab the with bash -c "", I set "export DISPLAY=:0.0" ("for Graphics related job in Unix Environment we need to set first the DISPLAY...") before the command,...and many other!
I know there are a lots of details affect cron execution (path, environment variables, special character and other) and I have no more idea by now :(
Could some gentleman suggest me an idea? where can I find the problem?
Thanks in advance!