7 lines
207 B
Python
7 lines
207 B
Python
from agenda_culturel.celery import app
|
|
|
|
|
|
@app.task(bind=True, name="test_periodic_task")
|
|
def test_periodic_task(self): # noqa: Adding self since we are using bind=True
|
|
print("Hello from periodic task")
|