No problem. But it does seem like you may have been living under a rock for some time. 
Look around and see all the amazing things that are going on in all kindsa little devices, propelled and even made possible at all by microprocessors.
Browse in these fora for a few days and see what all people manage to make these little beasts do.
You say
...every 2 days for 20 sec. But also if I would like every day.
So without worrying about how to code this, decide how you want this to work.
How would you like to choose whether you want pattern 1 or pattern 2 or pattern X?
How will the patterns be specified? Written in the code? Or an elaborate scheme where you could change things up with a keypad and display screen?
Do you need a "run right now for 20 seconds" button?
How accurate do you need "days" to be, or "20 sec." for that matter? You do not need to use an RTC, but it makes things that otherwise might not be super-accurate. Including graceful recovery from a power outrage.
Srsly, this is the expand and explore phase. Just don't bite off too much. Aim for getting a simple "once a minute for 10 seconds light an LED" sketch working... waiting 2 days to find you've bungled something will make this get old real fast.
If you can do that, you will have come to grips with the RTC and how to get at what it can do for you.
As always, the cheap, easy and safe way is to do it first in the wokwi. Then worry about getting a real RTC and you real Arduino doing the same dance.
You can always get help here, but it is a well-worn path and you will find many tutorials and examples and projects ppl are proud of a google away.
a7