How to run periodic jobs on DigitalOcean?
DigitalOcean, is an American cloud infrastructure provider headquartered in New York City with data centers worldwide.
DigitalOcean provides developers, startups, and SMBs with cloud infrastructure-as-a-service platforms.
When using that application, you may face the need to run periodic jobs within this
platform.
To achieve that, there are multiple solutions.
Schedule in DigitalOcean
If you want to run recurring jobs within DigitalOcean instance, one solution is to follow that guide:
https://bobcares.com/blog/digitalocean-cron-job/
You'll learn how to install the cron job services from within your instance, and how to configure, depending on your operating system.
Schedule with Cronit
An alternative solution, if you don't want to configure this from within DigitalOcean, and dispose from
better observability, granularity and simpler configuration is to use an external tool, like Cronit.
With Cronit, all you need is to define recurring tasks targeting your application endpoints. No need for
any server setup.