Skip to content
Sign UpLog In
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
20

Running cron jobs with repl.it šŸ¤– šŸ•’

jajoosam
jajoosam

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?

4 years ago

Voters

Comments

TopNew
4
TheDrone7
TheDrone7

I say yes for the tutorial and full example app.

4 years ago
4
themaka
themaka

I agree with

@TheDrone7
!

4 years ago
3
TheRealSnowSJ
TheRealSnowSJ

hey does this still work?
I would really love to use it!

2 years ago
1
Abelli
Abelli

A webcron also works.

4 years ago
Load more