Skip to content
New issue

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

schedule doesn't work #416

Closed
aminbahrabadi opened this issue Feb 18, 2020 · 0 comments
Closed

schedule doesn't work #416

aminbahrabadi opened this issue Feb 18, 2020 · 0 comments

Comments

@aminbahrabadi
Copy link

I have a function, when I run it with async_task:

async_task('sms.tasks.send',
                       username=username,
                       password=password,
                       text=text,
                       to=to,
                       path=path,
)

everything is ok, but when I run this with schedule:

schedule('sms.tasks.send',
                       username=username,
                       password=password,
                       text=text,
                       to=to,
                       path=path,
next_run=scheduled_time)

It doesn't work! It's like kwargs are not passed in schedule.
Can anyone guide me?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant