Schedule jobs by programatically requesting webhooks ๐ ๐ ๐ฎ
kron lets you schedule get requests to your server - which can be extremely useful for deployments on platforms such as repl.it, glitch, now, heroku - and any place where your applications may sleep, preventing you from using inbuilt timer functions.
kron is not meant to maintain uptime for your application, rather to schedule processes to occour within the precision of ~1s - opening up the possibility of cron jobs ๐ค
example:
1 hour (3600
seconds) after this request is sent, https://google.com
will recieve a get
request from https://kron.fun
.
https://kron.fun/?time=3600&url=https%3A%2F%2Fgoogle.com
You should encode URLs when passing them to kron. Once encoded - your the URLs you pass can have query strings as well ๐คฏ
kron does not repeat requests at regular intervals - but you can set periodic requests to kron which let you do that!
It is recommended you self host kron, the hosted version at https://kron.fun is running on a tiny 1GB VPS at Vultr.