Closed pasevin closed 4 years ago
I had this problem too until I remembered that I use django-celery-beat to store my list of periodic tasks in my database, and the static_sitemaps.tasks.GenerateSitemap tasks was still there. Once I removed that entry, problem solved.
haha thanks @skulegirl I totally forgot that. I assumed it will be cleaned by setting STATICSITEMAPS_REFRESH_AFTER
to None
I'm not sure if I'm doing something wrong, but if I set:
STATICSITEMAPS_REFRESH_AFTER = None
Celery still attempts at running it: