back

/setCleanupSchedule

This function will retrieve the cleanup schedule stored in the ProfiSight database.

If no JSON is input, this disables the cleanup feature completely ```javascript { "age_limit": 0 }

{
    "command": "/setCleanupSchedule",
    "command_result": {
        "analyzer": {
            "error": false,
            "message": "You can run a capture session or import a capture file",
            "running": false
        }
    },
    "errors": false,
    "general_message": "Successfully set the cleanup schedule"
}