Is Custom Start Command used to run scheduled cron jobs?
hayatonjp
HOBBYOP

a year 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!

Closed$10 Bounty

1 Replies

hayatonjp
HOBBYOP

a year 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 nico about 1 year ago


Status changed to Closed nico about 1 year ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...