This script will perform a defrag at monthly intervals. (You can modify the script to change the interval)

Script Setup:
NAME TAB: Create an event, name it 'Disk Defrag'(Change the script to change this item if you want).
TRIGGER TAB: Do Nothing.
ACTION TAB: Select Add Action and select Run Script
EXISTING SCRIPT FIELD: Select Defrag.txt
OPTIONAL PARAMETERS FIELD: Enter ("main","Disk Defrag")

'Save the event and then manually run it.

*Note: This script runs for a long period of time so you will want select Setup > General Tab and edit the setting "Scripts cannot timeout" and set this to yes.

That's it. At the time you selected, the defrag will start. The event will be rescheduled to occur again one month from the selected time.
Attached Files