from celery import Celery import redis from cel_seo_click import selenium_jared_click from celery.schedules import crontab app.conf.beat_schedule = { # Executes every Monday morning at 7:30 a.m. 'add-every-monday-morning': { 'task': 'tasks.add', 'schedule': crontab(hour=7, minute=30, day_of_week=1), 'args': (16, 16), }, } r=selenium_jared_click.delay() print('done') #rtxt=r.get() #print(rtxt)