How to work with cron?
fastikprog
PROOP

a year ago

I'm using node js for dev. I want to start a cron service using a railway. I set the time in the settings, but I don't understand how to set up the run command or file for the cron.

Solved

2 Replies

a year ago

We have native cron jobs. We'd recommend you just use those

https://docs.railway.com/reference/cron-jobs


Status changed to Awaiting User Response Railway 11 months ago


Status changed to Solved jake 11 months ago


fastikprog
PROOP

a year ago

If you also get stuck, you need to create a folder to store cron files in the repository and upload files there, then create a service and connect the repo, and there you don't need to specify the vordir to keep all types and modules working, then just run your cron file.


Status changed to Awaiting Railway Response Railway 11 months ago


Status changed to Solved fastikprog 11 months ago


Loading...