jamesmoran
jamesmoran
Explore posts from servers
TTCTheo's Typesafe Cult
Created by jamesmoran on 4/17/2023 in #questions
Simplest way to add cron job scheduler (PostgreSQL)
Hello. I have set up my project using the t3 stack and have added a custom server to my project (to set up a simple job queue using graphile-worker). This works pretty well, but I’m now wondering, is it possible to just drop a file into the pages/api folder for a worker like this instead? The Next.js docs recommended staying away from custom servers if you can, so I’m wondering if anyone has set something like this up without a custom server.
4 replies