Running cron jobs with repl.it šŸ¤– šŸ•’
h
jajoosam (605)

Have any of you ever tried to run cron jobs, or scheduled tasks with replit?

Since repls sleep, you can't use inbuilt timer functions - meaning you'd have to use something like Uptime Robot to ping your site every x minutes. But - Uptime Robot always repeatedly pings your website, even if you only want to schedule a one time task, and you have to manually add a url to ping on their website.

Introducing kron
āœØāœØāœØ

kron lets you schedule tasks using a simple get request. It's as simple as this šŸ‘‡

https://kron.4ty2.fun/?time=3600&url=https://google.com

Send a request there, and 1 hour (3600 seconds) after this request is sent, https://google.com will recieve a get request from https://kron.4ty2.fun.

Check out more details on the github repo - and let me know if you have any questions.

Also - would y'all like to see a tutorial on this, along with a full example app?

You are viewing a single comment. View All