The Run File/Script action in the Titan/Cornerstone 2019 Events Management system can be used to delete old log files from the system.

the parameters must be

File/Script: cmd.exe

parameter 1: /c del /F /Q

parameter 2: "<the target of the delete operation>"

Note: uncheck the option to Add Quotes, this is not necessary.

Note: parameter 1 must have /c as the very first item followed by a blank space followed by the del command 

Here's an example of an action to delete yesterday's log files.

This action, when executed, will look like this in the current system log.

For more information on using the server log file variables, see this solution

for more information on using date variables, see this solution