Setting up a cron job results in a Host Error.
hayatonjp
HOBBYOP

a year ago

When I set up a Cron Schedule and configure the Laravel cron command in the Custom Start Command, I get a "Host Error."
Is this a bug?

Solved$10 Bounty

4 Replies

yashko
PRO

a year ago

Hello @hayatonjp! Can you please share your existing configuration of a cron command you created?


hayatonjp
HOBBYOP

a year ago

I set php artisan ~ as the Custom Start Command and 0 0 * * * as the Cron Schedule, then deployed it.


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.


hayatonjp

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.

yashko
PRO

a year ago

Glad to hear you fixed it! Can you please mark this thread as resolved?


Status changed to Open nico 12 months ago


Status changed to Solved nico 12 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...