title: Celery Task not working
body: <p>every time I try to use delay() nothing happens. </p>
  
  <pre><code>from celery import Celery
  
  app = Celery('tasks', broker='redis://localhost:6379')
  
  @app.task
  def run(msg):
      print(msg)
  
  word="xxx"
  run.delay(word)
  </code></pre>
  
  <p>I checked redis with ping and it seems to be working.
  Or maybe I should use something different to run background threads in Flask app? </p>