remove cron.py file

cerley beat worker redis
setting for cerley
This commit is contained in:
Parsa Nazer
2025-03-10 16:40:12 +03:30
parent 0f29b34a6e
commit d6df8d9b8c
10 changed files with 154 additions and 28 deletions
+8
View File
@@ -0,0 +1,8 @@
from celery import shared_task
from product.models import ProductVariant
@shared_task
def update_product_prices():
print("\033[92m Calling update product prices from Celery\033[00m")
ProductVariant.update_all_prices()
print("\033[92m its working\033[00m")