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

10 months 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

10 months ago

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


hayatonjp
HOBBYOP

10 months ago

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


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.


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

10 months ago

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


Status changed to Solved brody 10 months ago


Status changed to Open itsrems 10 months ago


Status changed to Solved itsrems 10 months ago


Loading...