What's the best way to periodically run a shell command?

I have a Django web service running and I need to run “python manage.py send_mail” every 2 minutes or so. Normally on a Linux server, I’d do this with crontab but I’m a little confused as to how to achieve this in a Render web service.
Any suggestion is welcome.

Thank you.

Hi there,

Thanks for reaching out.

A Cron Job service would be the solution for that sort of task. Or a Background Worker if you have more of a queue system, e.g. celery.


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