Company
Date Published
Author
Faraz Patankar
Word count
478
Language
English
Hacker News points
None

Summary

We've added support for Cron Jobs natively in Railway, which may be a better fit than the method described here. To create a Django cron using GitHub Actions, we'll install the Railway CLI and use it to run our Django task on a schedule. The process involves installing the Railway CLI, running the `railway run` command with the `python manage.py my_command` argument, and setting up a GitHub Action to run at a specified interval. This allows us to execute any Django task at a specific time on our Railway projects and services in just a few simple steps.