I would like to update an Arduino I have connected via I2C with the correct date and time once I'm sure the Pi has it. Since the Pi is getting the time via NTP, it seems the most obvious would be to have a script run when NTP is successful.
Is there a mechanism for this? I'm thinking systemd might be involved but not sure what target?