This shows a particular report being submitted when the month is 6, 7 or 8 using a SAS Macro program. Your code would need to find and define a different date interval (probably using SAS functions)....but the overall approach would be similar.
I do suggest that you make sure you understand the code in steps 1-8 before jumping into step 9.
Question is if you want to execute a complete program on Friday or just a section of code in a program only on Friday.
For the first you need a scheduler in your operating system.
For the second I would suggest some macro code.
Macro variable dow is the day of week. Friday is day 6. Within the macro program you would use the following code.