#How to setup cron ?

11 messages · Page 1 of 1 (latest)

tardy sequoia
#

Hello!

I want to set up cron jobs with Tanstack Start. I don't see how to do it right now.

Tanstack Start doesn't seem to offer anything, and neither does ViteJS.

I just want to run recurring functions when my application launches in production.

In production, I'm using Docker and running on a VPS. I don't want PM2; everything must be on the project server.

Does anyone have any ideas?

#

I see nitro v2 can schedule some tasks :

#

worth ?

tardy sequoia
#

Hello?

glossy basalt
#

what do you mean "worth?", have you tried it ?

tardy sequoia
#

Yes, but there is an another way ?

#

I see i can use node-cron too

#

But i dunno the best option

lament orchid
#

you may also check Croner, thats what elysia uses

molten geyser
#

You could use pgboss if you're running a postgres db