You must create a server task to run your compliance queries weekly to automate generating your managed systems' compliance report.
Follow these steps to create a server task that runs your compliance queries every Sunday morning at 2:00 a.m.. Running the queries on Sunday morning allows you to run the report on Monday morning at 5:00 a.m. and deliver it by email to the administrators.
For details about product features, usage, and best practices, click ? or Help.
Select Menu → Automation → Server Tasks, then click Actions → New Task.
In the Server Task Builder:
In the, Descriptions tab, type a name and notes.
In the Schedule status, click Enabled.
Click Next.
In the Actions tab, configure these settings.
In the Actions list, select Run Query and configure these settings:
For Query, select VSE: Compliance Over the Last 30 Days.
Select your language.
For Sub-Actions, select Export to File then click OK.
For C:\reports\, type a valid file name.
For If file exists, select Overwrite.
For Export, select Chart data only.
For Format, select CSV.
Click + to create another action, and in the second Actions list, select Run Query and configure these settings, then Next.
For Query, select Inactive Agents.
Select your language.
For Sub-Actions, select Export to File.
For C:\reports\, type a valid file name.
For If file exists, select Overwrite.
For Export, select Chart data only.
For Format, select CSV.
In the Schedule tab, change these settings, then click Next.
For Schedule type, click Weekly.
For Start date, select today's date.
For End date, click No end date.
Change the Schedule settings to configure the task to run on Monday at 2:00 AM.
Note
You can set the schedule to run when and as often as you want.
Confirm that all settings are correct in the Summary tab, then click Save.
That completes creating the server task to automatically run the two compliance queries, then save the output of the queries to CSV files.