title: Starting a Python script on a raspberry via plink (not responding crontab)
body: <p>I have written a <code>script.py</code>, which opens a tk window and draws with turtle in the canvas the window contains. I want to start this script via a plink using:</p>
  
  <pre><code>plink.exe -pw raspberry pi@pi-fisch00 python /home/pi/script.py
  </code></pre>
  
  <p>But I always receive an error:</p>
  
  <pre><code>script.py line 32, in &lt;module&gt; root = Tk() 
  no display name and no $DISPLAY environment variable
  </code></pre>
  
  <p>I think the same error is causing that the crontab is not executing the <code>script.py</code>. </p>
  
  <p>My entry in the crontab:</p>
  
  <pre><code>*/1 * * * * python /home/pi/script.py
  </code></pre>
  
  <p>The syntax should be right, because other scripts are working and if I put <code>python /home/pi/script.py</code> in the cmd manually everything is fine. The <code>script.py</code> gets executed. How can I fix this and let the crontab execute the <code>script.py</code>? Why can't I execute the <code>script.py</code> via plink?</p>