Skip to content

How can I trigger a dramatiq-crontab job for testing? #114

Answered by codingjoe
hihosilvers asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @hihosilvers 👋,

Thanks for reaching out. Yes, you can! Cron-tasks are just normal dramatiq tasks, which are pretty much normal functions. Therefore, you can just call them like any function my_job().

If you want to test your entire stack, you can refer to dramatiq's testing guide.

I hope this helps. Please let us know, should you have more questions.

Best
Joe

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by hihosilvers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants