n131mg
n131mg
RRailway
Created by n131mg on 9/9/2023 in #✋|help
Cron Jobs
Hey everyone. I'm moving from Vercel to Railway so this is my first Railway project. I'm trying to implement a replacement to Vercel Cron jobs, ie: I have an API I need to call every so often as part of a timer. This is a NextJS app. Under Project Settings > General there is the "Cron Schedule" section, but as best I can tell that's going to redeploy my app on that schedule, not execute a piece of code on that schedule. Am I missing something silly here? I suppose I could build a completely separate service to run my cron jobs but that seems like overkill. To the extent that it matters, I haven't upgraded to Pro yet, I was just doing the dev on the Hobby plan (in case I need a feature behind the paywall of Pro for this to work).
38 replies