nakama icon indicating copy to clipboard operation
nakama copied to clipboard

[Feature] Cron Scheduler for Nakama

Open ernesernesto opened this issue 3 years ago • 0 comments

Hi, I'm using https://pkg.go.dev/github.com/go-co-op/gocron#pkg-examples for scheduling a task daily with cron job (clean up storage, bookkeeping, etc).

Unfortunately, for enterprise nakama, seems like if we're scheduling job using this cron lib it'll run once per server

As a hack, we're now doing a scheduled jobs by piggybacking on leaderboard reset schedule, when the leaderboard reset id match a specific job id, we're going to run the scheduled job.

Is there any way a Cron feature will be built on the server framework?

ernesernesto avatar Mar 31 '21 09:03 ernesernesto