title: Execute Django shell command as cron
body: <p>I'm try to Execute Django shell command as <code>cron</code>,
  I have some queries and objects tasks to search and read and write using the models and queries of my django app.</p>
  
  <p>How can I  execute this 1 or 2 times a day?</p>
  
  <p>For example, how can I run these queries periodically:</p>
  
  <pre><code>from django.contrib.auth.models import User
  from perfil.models import *
  
  for user in usuarios:
          profiles = Perfil.objects.filter(user=user)
          create_task = Task.objects.create(user=user)
  </code></pre>