Scale service on demand? Like background job workflow
da1z
HOBBYOP
10 months ago
Is there a way to create background job on railway. Basically what i am trying to do is run job in separate docker container and terminate them when job is done? i can have 1-5 simultaneous jobs but each has to be in it is own container
3 Replies
10 months ago
You could use the public api for that, else I can’t see any ways you could do this. Only manuel.
Public API docs: https://docs.railway.com/reference/public-api
chaudharysamirzafar
HOBBY
10 months ago
What about deploying a function that is a CRON job, would that work?
chaudharysamirzafar
What about deploying a function that is a CRON job, would that work?
da1z
HOBBYOP
10 months ago
possibly but it needs to run on demand and not on schedule. each function in separate container