Question

What code needed for App Platform "Worker"

I’m trying to make code that will run one method in my App Platform Django project every 15 minutes. According to the D.O. docs a Worker resource can do this.

However, after scouring the internet for hours I can’t find any documentation about how this code is run, if it needs to be it’s own python process, how the worker is configured or any other basic information on how these are supposed to work.

Ideally I can just say “run this method” on my existing App Platform app and be done with it. If needed I’m fine with sending a network request to start the method (without a response according to the Worker documentation).

I just need somewhere to start. I have no idea how to code something the worker can even use.

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!