Cron job doesn't seem to start when you press Run Now

zaydekPRO

a year ago

I noticed that when I press Run Now, it prepares the service and puts it into a 'Ready' state but it doesn't actually run. I can see that if I deploy my program without the cron job parameter, it works correctly. How am I supposed to run the cron job preemptively or am I thinking about this the wrong way?

If Railway staff are interested the service ID is https://railway.app/project/f6459896-75f7-412c-b646-e15bce18f2a9/service/30cd5bbf-179c-4beb-82ef-f44a6d693975

0 Replies

zaydekPRO

a year ago

Here's a video example

1225738283259269200


zaydekPRO

a year ago

I'm guessing Run now actually means Build now but that just seems like it's incorrectly labeled. I just want a way to run the cron at anytime in case I need to?


a year ago

yes it should run the job when you press it, I'll bring this up to the team when they are back in office


zaydekPRO

a year ago

Thanks. It stays frozen in a READY state not ACTIVE so nothing happens, so I had to reimplement the cron logic in Go instead of using Railway


a year ago

luckily that won't use too much memory so it's not a big loss


zaydekPRO

a year ago

Brody I have a question about Docker and Nix do you mind if I DM you?


a year ago

does that mean it doesnt pertain to railway?


zaydekPRO

a year ago

It's 100% Railway related


zaydekPRO

a year ago

I can create a new issue too


zaydekPRO

a year ago

Sec


a year ago

yeah just open a new help thread