Concept Flow - Log cleanup automation
Start script
Set log folder path
Get list of log files
For each file
Check file age > threshold?
No→Skip file
Yes
Delete file
Repeat for next file
End script
The script starts by setting the folder path, then checks each log file's age. If older than the set days, it deletes the file, repeating until all files are processed.