青龙面板[Qinglong] icon

青龙面板[Qinglong]

青龙面板计划任务节点.详细API请参考:https://qinglong.online/api/

Overview

This node integrates with the Qinglong Panel API, a task scheduling and management platform. It allows users to perform various system-level operations such as running or stopping commands, managing environment variables, scripts, subscriptions, dependencies, logs, and configurations.

Specifically, for the 系统设置 (System Settings) resource with the 停止命令 (Stop Command) operation, the node sends a request to stop a running system command by providing details like the command string and process ID.

Common scenarios:

  • Stopping a running script or command on the Qinglong server.
  • Managing system processes programmatically within an automation workflow.
  • Integrating system control into larger automation pipelines.

Example:
You want to stop a specific background process identified by its PID on your Qinglong server. You provide the command and PID in JSON format, and this node sends the stop request to the Qinglong API.

Properties

Name Meaning
请求Body JSON object containing the command to execute and the process ID to stop. Example structure: {"command":"要执行的命令:string","pid":"进程ID:number"}

Output

The node outputs the JSON response from the Qinglong API under the field json.result. This typically contains the result of the stop command request, such as success status or error messages returned by the API.

No binary data output is involved in this operation.

Dependencies

  • Requires an API key credential for authenticating with the Qinglong Panel API.
  • The node depends on network access to the Qinglong API endpoint.
  • No additional external services are required beyond the Qinglong API.

Troubleshooting

  • Common issues:

    • Invalid or missing API credentials will cause authentication failures.
    • Incorrectly formatted JSON in the "请求Body" property may lead to API errors.
    • Providing a non-existent or already stopped PID might result in failure responses.
  • Error messages:

    • Errors thrown by the node include messages indicating unimplemented operations if the operation name is incorrect.
    • API errors from Qinglong will be passed through in the json.result field; check these for details.
  • Resolutions:

    • Ensure the API key credential is correctly configured in n8n.
    • Validate the JSON input for the body property before execution.
    • Confirm the PID and command correspond to an active process on the Qinglong server.

Links and References

Discussion