Question

how do I schedule a cron job

Posted January 22, 2020 145 views
Ruby on Rails

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.

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.

×
1 answer

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

Submit an Answer