Skip to content
Is Custom Start Command used to run scheduled cron jobs?
hayatonjp
OP

2 years 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 Reply

hayatonjp
OP

2 years 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 ntheck • over 1 year ago


Status changed to Closed ntheck • over 1 year ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...