itsyoboieltr
Cron job with tRPC
It's not the best approach, because I needed to create a "service account" to login before making the request, so that I can call the procedure from outside of the app. As the github runner is on a different machine. I still wish trpc supported cron jobs to make it easier!
10 replies
Cron job with tRPC
for reference: Elysia is using Croner to implement cron jobs https://github.com/hexagon/croner, I wonder how would this be used in the context of tRPC with a next.js app
10 replies