Propagate IP adress

Hi,

I want my raspi to propagate it’s IP address to me automatically after boot up.
Easiest way for me would be to run a python script that will send me an email.
But how / where can I apply running that script at the end of the boot-sequence? I will not log-in to the raspi since it will just run as a LAMP-server…

Thanks in advance,
Olaf

/etc/rc.local

put a link to the .py file, that file is the last to run, so then it will run that python script once it’s booted

Tanks, that works.
A little strange to just link the .py script and not apply an entire command like “python3 myscript.py”…

That’s what I meant…the command pointing to the script…sorry for the confusion