---
title: "Schedules a Script on an Asset"
method: POST
path: "/rmm/public_scripts/{asset_id}/schedule"
tags: ["RMM Script"]
---

# Schedules a Script on an Asset

`POST /rmm/public_scripts/{asset_id}/schedule`

Required permission: Scripts - Execute
Single-Customer Users can only access own assets.

## Request body

- object
  - `next_time` string, date-time
  - `script_id` integer
  - `run_type` 'now' | 'later'
  - `freq` 'once'
  - `mav_options` object
    - `scan_type` string
    - `silent` boolean
    - `quarantine` boolean
  - `script_options` object
    - `run_as` string
    - `runtime_variables` object

## Response `200`

successful with script_options

## Other responses

- `401` — Unauthorized when token lacks permission
- `404` — script belongs to a different account
- `422` — recurring schedule not allowed

## Changes

> 5 revisions in range; 2 could not be searched.

- **2026-08-18** `ba07bb992e69` — 1 warning, 4 info
  - removed the request property `next_run`
  - added the new optional request property `mav_options`
  - added the new optional request property `next_time`
  - added the new optional request property `script_options`
  - …1 more

[Change history](https://skmtc.dev/syncromsp/apis/syncro/changes/rmm/public_scripts/:asset_id/schedule/post.md)

---

[API](https://skmtc.dev/syncromsp/apis/syncro.md) · [All operations](https://skmtc.dev/syncromsp/apis/syncro/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/syncromsp/syncro/revisions/dfc1c332d2c2/schema)
