Reputation: 43
CRONJOBS = [('* * * * *', 'tweets.cron.get_tweets')]
I can't add any parameter to this function and it doesn't work since it requires parameters. I wanna add something like
get_tweets(username)
Upvotes: 0
Views: 1595
Reputation: 37894
what about this?
('* * * * *', 'tweets.cron.get_tweets', ['username'])
---> docs <---
Upvotes: 2