Question

how do I schedule a cron job

using Spree e-commerce platform on Digital Ocean droplet.

need to schedule item sync with backend database every 10 minutes.

used to work fine, need to get running again.


Submit an answer

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.

When i visit thie url i get the following error -> This tutorial is out of date and no longer maintained.

Hello,

In order to set up a Cron job you could follow the steps here:

https://www.digitalocean.com/community/tutorials/how-to-use-cron-to-automate-tasks-on-a-vps

If you are getting any errors, feel free to share them here so that I could try to advise you further.

Regards, Bobby