django-cron
django-cron copied to clipboard
Error with run weekly feature
Hello, I am setting up a cronjob that is supposed to run on some weekdays using the example below.
class MyCronJob(CronJobBase):
RUN_WEEKLY_ON_DAYS = [0, 6]
RUN_AT_TIMES = ['6:30']
schedule = Schedule(run_weekly_on_days=RUN_WEEKLY_ON_DAYS, run_at_times=RUN_AT_TIMES)
but I get this error "unexpected keyword argument 'run_weekly_on_days" when I try to run the cronjobs.
any help?