How do I run a specific script from package.json from cron
nhc
PROOP

9 months ago

I have deployed a nodejs typescript app.

I have a number of scripts in package.json

I want to target one of them from the cron

I have seen the docs on cron but it is not clear how to point it at one specific nodejs script

Solved$10 Bounty

Pinned Solution

uxuz
MODERATOR

9 months ago

Hey nhc, you would have to specify a custom start command, docs regarding start commands can be found at https://docs.railway.com/guides/start-command#configure-the-start-command.

1 Replies

uxuz
MODERATOR

9 months ago

Hey nhc, you would have to specify a custom start command, docs regarding start commands can be found at https://docs.railway.com/guides/start-command#configure-the-start-command.


Status changed to Solved brody 9 months ago


Loading...