I need to write a cron job to run hourly that checks all files in a directory and deletes files that are older than 30 days.
id like it to also delete *.exe *.vbs *.bat type files as soon as it see them, any ideas? any help would be great, thanks!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.