This may come in handy if you’re looking to add a cron to a new or existing Railway project and will make it possible to run any Django task on a schedule on Railway. name: My Command on: schedule: - cron: '*/4 * * * *' jobs: build: name: Run crons runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: node-version: 16 - name: Install Railway run: npm i -g @railway/cli - name: Install Python packages run: railway run --service {{SERVICE_ID}} pip install -r requirements.txt env: RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }} - name: My Command run: railway run --service {{SERVICE_ID}} python manage.py my_command env: RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }} Next, we’ll install the Railway CLI which will allow us to interact with our Railway project…