title: run selenium with crontab (python)
body: <p>I have a python script that calls chrome via selenium with the next line.</p>
  
  <pre><code> ff = webdriver.Chrome('/home/user01/webScraping/CollectAndGo/chromedriver')
  </code></pre>
  
  <p>The python script is called from a shell script.</p>
  
  <pre><code>python /home/user01/webScraping/CollectAndGo/cgcom.py &gt; /home/user01/webScraping/CollectAndGo/cgcom.log 2&gt;&amp;1
  </code></pre>
  
  <p>When I run the script from the terminal or just executing the .sh file it works perfectly but when I schedule a crontab job it fail with the next error.</p>
  
  <pre><code>   raise exception_class(message, screen, stacktrace)
  selenium.common.exceptions.WebDriverException: Message: u'unknown error: Chrome failed to start: exited abnormally\n  (Driver info: chromedriver=2.9.248304,platform=Linux 3.5.0-36-generic x86_64)' 
  </code></pre>
  
  <p>The error is related to the first line of code of this question. Does anybody know why this could be happening?</p>