title: Running a python script in every 30 minutes using Crontab?
body: <p>I want to run a python script for every 30 minutes. For this, I am using crontab.
  I am new to crontab, I read and to run a script for 30 mins I have to use a query something like this: </p>
  
  <pre><code>*/30 * * * * python filename.py
  </code></pre>
  
  <p>But where exactly I have to fire this command.</p>
  
  <p>I tried,</p>
  
  <pre><code>crontab -e
  </code></pre>
  
  <p>and change the file into,</p>
  
  <pre><code>*/30 * * * * python filename.py
  </code></pre>
  
  <p>Can someone explain how can I use crontab properly? </p>
  
  <p>PS: I want to run a script for every 30 mins on a server that I have created on AWS ec2 instance, is there any alternate solution?</p>
  
  <p>I am using Ubuntu 16.04</p>