remove cron.py file
cerley beat worker redis setting for cerley
This commit is contained in:
@@ -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")
|
||||
Reference in New Issue
Block a user