from celery.task import PeriodicTask


class InitialTasksStarter(PeriodicTask):
    starttime = datetime.now() + timedelta(minutes=1)
run_every = crontab(month_of_year=starttime.month, day_of_month=starttime.
    day, hour=starttime.hour, minute=starttime.minute)
Django celery task run at once on startup of celery server