Actions64
- 定时任务 Actions
- 订阅管理 Actions
- 环境变量 Actions
- 配置文件 Actions
- 脚本管理 Actions
- 依赖管理 Actions
- 日志管理 Actions
- 系统设置 Actions
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 "启用视图" (Enable View) operation, it enables one or more selected views within the Qinglong scheduling system.
Use cases include automating the enabling of predefined views that group or filter scheduled tasks, which can be useful in managing large numbers of cron jobs by activating specific task views programmatically. For example, you might enable a view that shows all backup-related tasks before running a maintenance workflow.
Properties
| Name | Meaning |
|---|---|
| 视图列表【可多选】 (viewsIds) | A multi-select list of view IDs to enable. Users can select one or more views to activate. The options are dynamically loaded from available views in Qinglong. |
Output
The node outputs JSON data under the json field of the first input item. This output contains a result property holding the response from the Qinglong API after attempting to enable the specified views. The structure of this result depends on the Qinglong API's response format but generally includes success status and any relevant messages or data about the enabled 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 Qinglong's REST API endpoints.
- The node expects the Qinglong API base URL and credentials to be configured properly in n8n.
Troubleshooting
Common issues:
- Invalid or expired API credentials will cause authentication failures.
- Selecting no views or invalid view IDs may result in errors or no action taken.
- Network connectivity problems to the Qinglong API endpoint will cause request failures.
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 wrapped and presented as node errors; check the message for details.
Resolutions:
- Verify API credentials and permissions.
- Ensure the selected view IDs exist and are valid.
- Confirm network access to the Qinglong API server.
- Check the node parameters carefully for correct resource and operation selection.
Links and References
- Qinglong Panel API documentation: https://qinglong.online/api/
- n8n Documentation: https://docs.n8n.io/
- Qinglong GitHub repository (for reference): https://github.com/whyour/qinglong