title: Running an Airflow DAG every X minutes
body: <p>I am using airflow on an EC2 instance using the <code>LocalScheduler</code> option. I've invoked <code>airflow scheduler</code> and <code>airflow webserver</code> and everything seems to be running fine. That said, after supplying the <code>cron</code> string to <code>schedule_interval</code> for "do this every 10 minutes," <code>'*/10 * * * *'</code>, the job continue to execute every 24 hours by default. Here's the header of the code: </p>
  
  <pre><code>from datetime import datetime
  import os
  import sys
  
  from airflow.models import DAG
  from airflow.operators.python_operator import PythonOperator
  
  import ds_dependencies
  
  SCRIPT_PATH = os.getenv('PREPROC_PATH')
  
  if SCRIPT_PATH:
      sys.path.insert(0, SCRIPT_PATH)
      import workers
  else:
      print('Define PREPROC_PATH value in environmental variables')
      sys.exit(1)
  
  default_args = {
    'start_date': datetime(2017, 9, 9, 10, 0, 0, 0), #..EC2 time. Equal to 11pm hora México
    'max_active_runs': 1,
    'concurrency': 4,
    'schedule_interval': '*/10 * * * *' #..every 10 minutes
  }
  
  DAG = DAG(
    dag_id='dash_update',
    default_args=default_args
  )
  
  ...
  </code></pre>