-
chillbruhNot sure if this is the right place for this, but does anyone know how I can get monerod to fully sync the blockchain on my private home node weekly? I know I should probably use cron for this. Not sure if someone has already made a script that is capable of fully syncing the blockchain, and then exiting out once fully synced.
-
chillbruhI tried asking ChatGPT for a script on this, and it gave me a decent looking script, although I'm a bit too brain dead to know bash scripting lmao
-
chillbruhIf anyone's curious, this is what ChatGPT generated... (full message at <libera.ems.host/_matrix/media/v3/do…00095730ecebf7f90b8651338a56db604c1>)
-
plowsof11that script checks if blockheight is not == 0 then exits (?) you should instead use curl get_info and check if synchronised is true with jq then exit getmonero.org/resources/developer-guides/daemon-rpc.html#get_info
-
chillbruhI sorta get what's going on with the status variable, although idk what awk '{print $NF}' is doing, and I'm assuming the while loop is checking to make sure status isn't 0? Is awk '{print $NF}' supposed to be getting the blockchain height?
-
chillbruhplowsof11: oh, interesting
-
plowsof11#monero-community-dev:monero.socialfor none core issues
-
chillbruhAh, sick, thanks!