Hello!
I am trying to setup a cronjob in my flint2 router over web-if.
I tested curl in terminal, and it is not installed. I most install it?
How do people normally do? They use curl or something different?
Thank you!
Hello!
I am trying to setup a cronjob in my flint2 router over web-if.
I tested curl in terminal, and it is not installed. I most install it?
How do people normally do? They use curl or something different?
Thank you!
uclient-fetch provided wget may fit the bill
... install curl ?
Is curl the best alternative? I am going after what ChatGPT says thats why I am asking you masters, if people are using something else lol
If you're asking the masters why are you bothering the knucklehead ChatGP ?
If you're asking the masters why are you bothering the knuckle head ChatGP ?
I try to not ask too much dumb questions
So Curl is the best way? Thank you!
Curl is fine, if you can afford the flash space it requires.
Yes, I have the flint2 with 7GB I think.
So lets go with the installation and see what happens...
To be continued.
It worked, thank you very much! I just hope it dont take to much cpu or ram to run 4-5 of curl commands every minute.
You have limited wget preinstalled, zeerow flash nits needed, just that you must convert command options to wget
Something like wget -q -o /dev/null https//./... ; echo $?
I will go for curl it is ok, seem to be a little bit better.. if you ask ChatGPT lol.
But what command is best to run every minute:
* * * * * curl --retry 3 --retry-delay 1 -m 15 https://example1.com
or this
* * * * * curl -fsS --head https://example2.com >/dev/null`
As you say boss
lol, no! Its because frollic allready told me its fine. And i had set it up, do you think wget is better even with 7GB storage?
The limited emulated wget is pre-installed. IF it works for purpose you dont have to remember to add supercurl when upgrading. Path of least resistance.
EDIT: feel ree to use AI to translate curl to wget if my proposed params dont work right away.
I understand, thank you! But what is the best command line to run wget? I think we need something that dont risk to hang the router, something with timeout maybe or multiple retries, i dont know
wget -q -o /dev/null https//./... ; echo $?
This kind of emulates silent command, download not saved, rcode returned on http or network error
So out of curiosity what does this heartbeat monitoring do?
Think of hardware watchdog, you miss the deadline and professor assigns you poor grade.