Showing results for 
Show  only  | Search instead for 
Did you mean: 

This product reached the end of support date on March 31, 2021.

Weekly tasks Report Export Example?


I am looking to run a report export (save as txt) once a week at an early hour, say 1am, on Monday. Does anyone have an example of the syntax that would be used to accomplish this in the



Dynatrace Pro
Dynatrace Pro

First of all you want to do it in tasks-*.xml files as .properties files are obsolete and no longer supported.

Please create a separate XML file in config directory, i.e:


with the following content:

<task ID="SaveReportToFile" name="SaveReportToFile" periodType="WEEK" period="1" timeLine="SERVER" offsetTime="01:01:00" timeout="00:10" >
<command ID="0">

This should save Name of DMI report in CSV format to C:\path\to\MySavedReport.txt file every Monday at 1:00 am.

If you need you can append epoch time stamp to the output file.

More about scheduling in Task Scheduling

Will the .properties files still work in 12.4? We will work to convert them to XML format, like you provided, but I wanted to know the timeline and dependency of conversion.

Let me make sure on this, but they should work in "maintenance mode", where we're not fixing bugs if found in this functionality. I will get bavk to you.

Yes, they will be still working in 12.4.X.