Can I use Docker with Cron jobs?

Hi all, I have a node / puppeteer script that I run daily. I’d like to move that to render. I understand from other posts that I can’t install chromium in the environment natively, but should use docker. Is docker available in cron jobs? Would a container persist between runs, or do I need to pull/build an image each day? I’m new to both render and containerization…

Hi!

Docker is indeed available for Cron Jobs. The most recently built container image will be used for all runs. If you update your code and build a new image, we will use that for the next run.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.