dingxin_toolbox
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
489 B

from celery import shared_task
from ai.utils.show_process import show_main_process
from ai.utils.basic_func import clear_lock_func
from ai.utils.show_func import get_new_movie
@shared_task(time_limit=18*60, soft_time_limit=18*60)
def ai_show_general():
clear_lock_func()
show_main_process()
print("task success")
return True
@shared_task(time_limit=18*60, soft_time_limit=18*60)
def get_new_movie_task():
get_new_movie(None)
print("task success")
return True