#!/bin/bash find /home/microservice/logs/*.log.* -type f -mmin +$1 -exec rm -rf {} \;