We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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?
The text was updated successfully, but these errors were encountered:
any help @JedrzejMaluszczak
Sorry, something went wrong.
It's run_on_days not run_weekly_on_days.
run_on_days
run_weekly_on_days
Maybe it used to be, but not anymore. It's run_weekly_on_days: https://github.com/Tivix/django-cron/blob/master/django_cron/core.py#L22
No branches or pull requests
Hello,
I am setting up a cronjob that is supposed to run on some weekdays using the example below.
but I get this error "unexpected keyword argument 'run_weekly_on_days" when I try to run the cronjobs.
any help?
The text was updated successfully, but these errors were encountered: