Skip to content

Script Repository

The script repository is used to centrally enter and manage scripts for reuse by "script execution" and "scheduled task".

Usage Steps

  1. Go to "Operations Management - Script Repository"
  2. Click "New Script"
  3. Fill in the script name, type (Shell / Python / PowerShell / BAT), description, and content
  4. Save

Version Management

Scripts support version management:

  • Each save generates a new version
  • Historical versions can be viewed
  • Can roll back to a specified version

Script Reuse

  • In "script execution", scripts can be directly selected from the script repository for execution
  • In "scheduled task", scripts from the script repository can be referenced

Tips

  • It is recommended to verify script content locally before entering it into the platform
  • Sensitive information (passwords, Token) is not recommended to be hardcoded in scripts; consider using platform variables or secret management