Is Custom Start Command used to run scheduled cron jobs?
hayatonjp
HOBBYOP
10 months ago
Hi, I'm using Railway's Cron Schedule feature and would like to confirm if I'm setting it up correctly.
After configuring the schedule in the "Cron Schedule" section, should the actual command (e.g., php artisan schedule:run) be placed in the "Custom Start Command" field?
Or is there a separate place where the cron task should be defined?
Thank you!
1 Replies
hayatonjp
HOBBYOP
10 months ago
It was a basic mistake.
I created a new service specifically for the cron job, separate from the service with the custom domain, and simply set up the cron there — and it worked.
Status changed to Open itsrems • 10 months ago
Status changed to Closed itsrems • 10 months ago