Skip to main content

Disk Cleanup

Summary

Runs the Soji Disk Cleanup Utility automation on demand from the tray icon self help menu and updates the cPVALSojiResult custom field. This is followed by the Display Toast Message - Standard Notification (Custom Field) automation, which will display the lastest result of the disk cleanup as a toast notification to the end user.

Dependencies

Details

LabelDescriptionNotification MessageOperating systemAutomations
Disk CleanupOn demand disk cleanup taskWe're running a disk cleanup in the background - this may take a while. Please feel free to continue working while the disk cleanup is running.WindowsSoji Disk Cleanup, Display Toast Message - Standard Notification (Custom Field)

Task Creation

Step 1

Navigate to Administration > General > Branding
Step 1

Step 2

Locate the configuration you would like to add this task to and select the Edit button within the actions menu.
Step 2

Step 3

Select the Add Menu Item option at the top of the Menu section

Step 3

You will then see this empty window

Image

Step 4

Set the following details in the Menu Item window

Image

The Soji Disk Cleanup script should be run as System, with the ExeName field set to Soji and Csv field checked

Image

Image

The Display Toast Message - Standard Notification (Custom Field) script should be set to run as the Current Logged on User, with the Title set to Disk Cleanup Results and Message field set to cpvalsojiresult

Image

Select Save Changes in the bottom right once everything is configured correctly.

Step 5

Now that the menu item has been created, you can drag and drop it into place. The standard location will be within the Run Automation section under Self Help Scripts, but this can vary from client to client. Image

Completed Task

Image