青龙面板[Qinglong] icon

青龙面板[Qinglong]

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

Overview

This node integrates with the Qinglong Panel API to manage scheduled tasks (crontabs) and related resources such as views, subscriptions, environment variables, configurations, scripts, dependencies, logs, and system settings. Specifically, for the "定时任务" (Scheduled Task) resource and the "禁用视图" (Disable View) operation, it disables one or more selected views in the Qinglong crontab system.

Use cases include automating the management of task views by enabling or disabling them programmatically within an n8n workflow. For example, you might disable certain views during maintenance windows or based on external triggers to control which sets of scheduled tasks are active.

Properties

Name Meaning
视图列表【可多选】 A multi-select list of view IDs representing the views to be disabled. Users can select multiple views to disable at once. The options are dynamically loaded from the Qinglong API.

Output

The node outputs a JSON object under the json field containing a result property. This result holds the response data returned from the Qinglong API after attempting to disable the specified views. The structure depends on the API's response but typically includes success status and any relevant messages or data about the disabled views.

No binary data output is produced by this operation.

Dependencies

  • Requires an API key credential for authenticating with the Qinglong Panel API.
  • The node uses internal helper functions to obtain an authentication token and make HTTP requests to the Qinglong API endpoints.
  • The node expects the Qinglong API to be accessible and properly configured to accept requests for managing crontab views.

Troubleshooting

  • Common issues:

    • Invalid or expired API credentials will cause authentication failures.
    • Specifying view IDs that do not exist or are already disabled may result in errors or no changes.
    • Network connectivity problems to the Qinglong API endpoint will prevent successful execution.
  • Error messages:

    • If the operation is not implemented or recognized, the node throws an error indicating the operation is not yet supported.
    • API errors returned from Qinglong are surfaced as node errors; check the message for details.
  • Resolutions:

    • Verify API credentials and permissions.
    • Confirm the view IDs exist and are correct.
    • Ensure network access to the Qinglong API server.
    • Review the API documentation for any changes or additional required parameters.

Links and References

Discussion