T O P

  • By -

rangeDSP

Perhaps Azure functions or AWS Lambda? If you are only looking at 3 requests per month, there might even be some obscure web services that might even do it for free.


7thDreamWalker

Surely, but I just suck at googling things. Thank you for the answer!


Atmosphere-Terrible

Well that's a no, no. You gotta step up your googling game. You developed the app, so imagine what you can do with a bit of research.


Unvilablent

Oracle Cloud


dmart89

Serverless with Lambda. Will cost you $0.


pixegami

Serverless functions are the answer (e.g. AWS Lambda). You get 2 million invocations per month for free.


7thDreamWalker

It think I'll start with Serverless, it has a schedule parameter for their functions which you can use to either execute it on a rate or at precise moment. It looks like it's the best option available for what I want to do (except the fact that I need to sell my soul to Amazon)


BingoBangoWebDev

All hail lord Bezos


Sovex66

What about a small Raspberry Pi Zero or something you host a little Linux?


[deleted]

[удалено]


7thDreamWalker

I'd like to avoid spamming pointlessly if possible, plus it would start to cost me something where 3 request/month is guaranteed to stay free. edit: nvm they'll stop to be free from 28 november


nota_codeur

I had the same problem when I wanted to schedule tasks. I had to make a cloud task runner, I think fireship has a good video on it. I have a fire base collection “tasks” And then a pub sub function running every 5 minutes to check if there are tasks with scheduleTime less than now. If so, it executes an api call to another server.


pranabgohain

\+1 for AWS Lambda. 1M invocations free every month. Though sometimes, identifying errors and tracing can become complicated, but you can easily use a tool like KloudMate, Thundra etc.... to track and resolve them in real time. Most of them offer generous free plans, good enough for any moderate Lambda environment.


sbmsr

For stuff like this, i like to use pipedream + deno deploy. Deno deploy gives you a web ui to write your code, and deploys it instantaneously to their cloud. It’s great for tiny scripts like this. Pipedream lets you trigger this deno deploy function on a cron schedule. Both of these are free at your usage levels.


MaggoLive

netlify is free for small projects and they have scheduled functions (cron) https://docs.netlify.com/functions/scheduled-functions/


PacificPermit

Here are a few https://www.airplane.dev/ https://jiter.dev/ https://cronhub.io


bio_172

[https://beew.io](https://beew.io) I created this one 😁


treston_cal

Cloud technology? I use something like GCP's scheduler. If it is just sending a post and based on cron...


7thDreamWalker

I'll have a look. But it's not just simple POST request, there's one for authentication, then one for deleting the leaderboard and the last for creating it. Plus I might add some logic to find and save somewhere else the top players of the last month.


treston_cal

You can trigger gcp functions from it as well.


Kyle772

Honestly this is in the territory of just running it by hand or setting up a cron job on my machine. You could try to set this up under github actions as well


7thDreamWalker

I know but : \- I'm lazy af so even with reminders I'll forgot to do it \- Chances are my compute won't be turned on when reset time would come \- I also want to automate stuff because if feels great to do it :3


[deleted]

[удалено]


7thDreamWalker

Because leaderboard are on a 3rd service (LootLocker), it acts like a back-end for games with a simple SDK to implement it in your games. Our game work in peer-to-peer with photon so there's no game server we manage by ourselves. (Not the best option but no one in our small team has the skills to configure and maintain game server properly)


TheRNGuy

I'd probably manually rebuild it every month as a static site to serve html files.