Once an op script is available on the router, you can execute the script in the CLI:
user@host> op filename
filename—The name of the op script you are executing.
The JUNOS software provides several tools to manage and monitor automation script operations, including source control and tracing operations. For more information, see Configuring Automation Scripts.