Use of spawn for running scheduled quantum db functions without overlapping

Hello,

I am using the Quantum library in my application to automate some recurring functions that involve calculations and database updates.
The tasks are currently taking longer time to run.
Can I safely use spawn to run these recurring tasks in order to run them outside the parent process, and still prevent overlapping of the automated functions?

Thanks for your help in advance.

Regards,

Jerry

Hi,

Would you consider using oban rather then quantum?

It has some cool features regarding your problem, that I think you will find useful

Hello @wolfiton,

Thanks for the suggestion.

I will give it a try.

Regards,

Jerry

1 Like

You are welcome i hope it works.