Can I use a Worker in the App Platform to update my Django Web App with content from external URLs?

I have a Django Web App set up on the DO App Platform. I want to update my Django App daily with content from external URLs. Unfortunately, cron jobs are not available, so I’m trying to use a Worker instead.

How can I do this?

The Worker must be able to fetch an image from an external URL, attempt to download it, and update it in my Django App if the download was successful.

Submit an answer
Answer a question...

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Elan Hasson
DigitalOcean Employee
DigitalOcean Employee badge
December 1, 2022


We recently launched Scheduled Functions (it’s in beta currently) which accomplishes what you’re looking to do. Scheduled Functions are not yet supported via App Platform Function components, so you would need to create a stand-alone Cloud Function which calls the API of your App Platform Service. Alternatively, you can do whatever work you need to do inside the function as long as it is within the runtime length limits of Functions (15 min max).

Hope this helps,


Greg M
DigitalOcean Employee
DigitalOcean Employee badge
June 1, 2022


Yes you can use a worker for this purpose. You would just need to run a time ticker loop to fetch the image from the external URL, and communicate that to the Django app (however that image is being served).

Best, Greg

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.