How to run a script at boot? Tested on Fedora, CentOS and Raspbian.
You can use cron via
But, as far as I can see, if you need the network, it seems that this way is not suitable.
Then, instead, you can use oneshot type in a systemd service.