most people use a bash script in a loop. You can use curl on Linux (or RPi OS) to send the command to take a picture.
If the interval is short, you can sleep the program inside the loop.
If the interval is long, such as once a day, you can use crontab
Example of taking a picture is here:
NOTE: most people are using the USB API for this type of long-term use. There are limited examples using Ethernet. We don’t have examples of controlling the plug-in over Ethernet in production use. You would be a pioneer.