Cron doesn't execute one of the scheduled jobs
Posted
by
user288633
on Ask Ubuntu
See other posts from Ask Ubuntu
or by user288633
Published on 2014-06-05T08:06:28Z
Indexed on
2014/06/10
15:41 UTC
Read the original article
Hit count: 231
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!
© Ask Ubuntu or respective owner