update crontab parameters
This commit is contained in:
parent
ce41b96ec3
commit
00d7bbe7ec
|
|
@ -13,7 +13,7 @@ from product.models import Product
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
||||||
@periodic_task(run_every=crontab(minute=1))
|
@periodic_task(run_every=crontab(minute='*/1'))
|
||||||
def update_index():
|
def update_index():
|
||||||
"""Updates ES index."""
|
"""Updates ES index."""
|
||||||
try:
|
try:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user