I´m having some issues with this python script running in cron (Ubuntu), it runs ok without cron:
subprocess.call('/usr/bin/xdotool search --name bla.bla. windowactivate', shell=True)
Cron
4,7,10,15,20 * * * * /usr/bin/python /home/aaa/bbb/ccc.py
In the Cron log i only get "No MTA installed...". Have full paths, cron calls ok the python script (changing the script to a simple "hello world" works ok)...i´m a bit lost.
Edit
Output from cron:
Error: Can't open display: (null)
Segmentation fault (core dumped)
Thanks.