ESP32 Cam Weekly Reading Meter

Hi All

Need some help please. So I have a ESP32 CAM MB all working fine and I have the photo coming up on the Dashbaord. What I need help with, is coding the following

I only want the camera to power up and take a photo once a week and display this on the Dashboard.

When taking the photo need the LED (flash light) to be on.

Once the photo has been taken then go into deep sleep until the next photo to be taken, the following week.

Any help on this would be great.

can you get any ideas from this