mirror of
https://github.com/whyour/qinglong.git
synced 2025-12-13 07:25:05 +08:00
Reverted all changes to sample files as the correct fix is to export NODE_OPTIONS/PYTHONPATH in the preload scripts (sitecustomize.js/py), not to modify sample files. This was the maintainer's feedback. Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
15 lines
320 B
Python
15 lines
320 B
Python
"""
|
|
任务名称
|
|
name: script name
|
|
定时规则
|
|
cron: 1 9 * * *
|
|
"""
|
|
|
|
print("test script")
|
|
print(QLAPI.notify("test script", "test desc"))
|
|
print("test systemNotify")
|
|
print(QLAPI.systemNotify({"title": "test script", "content": "dddd"}))
|
|
print("test getEnvs")
|
|
print(QLAPI.getEnvs({"searchValue": "1"}))
|
|
print("test desc")
|