Vincent Driessen hace 15 años
padre
commit
348fbca9f9
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      docs/getting-started/periodic-tasks.rst

+ 1 - 1
docs/getting-started/periodic-tasks.rst

@@ -24,7 +24,7 @@ type:
     from celery.task.schedules import crontab
     from celery.decorators import periodic_task
 
-    @periodoc_task(run_every=crontab(hour=7, minute=30, day_of_week=1))
+    @periodic_task(run_every=crontab(hour=7, minute=30, day_of_week=1))
     def every_monday_morning(\*\*kwargs):
         logger = self.get_logger(\*\*kwargs)
         logger.info("Execute every Monday at 7:30AM.")