找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 21|回复: 0

[青龙面板] 青龙面板-iMaotai

[复制链接]

1884

主题

520

回帖

7371

积分

管理员

积分
7371
发表于 2024-7-16 10:43:48 | 显示全部楼层 |阅读模式
脚本网址:
https://github.com/gerenyongcangku/imaotai

设置脚本:
docker exec -it qinglong bash                      进入到容器内
cd data/scripts/gerenyongcangku_imaotai/  进入到imaotai的目录内

task gerenyongcangku_imaotai/main.py      添加定时任务
cat /root/.imaotai/credentials                      目录变更




  1. Synology strongly advises you not to run commands as the root user, who has
  2. the highest privileges on the system. Doing so may cause major damages
  3. to the system. Please note that if you choose to proceed, all consequences are
  4. at your own risk.

  5. anmkj@anmkj:~$ sudo
  6. usage: sudo -h | -K | -k | -V
  7. usage: sudo -v [-AknS] [-g group] [-h host] [-p prompt] [-u user]
  8. usage: sudo -l [-AknS] [-g group] [-h host] [-p prompt] [-U user] [-u user] [command]
  9. usage: sudo [-AbEHknPS] [-C num] [-D directory] [-g group] [-h host] [-p prompt] [-R directory] [-T timeout] [-u user] [VAR=value] [-i|-s] [<command>]
  10. usage: sudo -e [-AknS] [-C num] [-D directory] [-g group] [-h host] [-p prompt] [-R directory] [-T timeout] [-u user] file ...
  11. anmkj@anmkj:~$ sudo -i
  12. Password:
  13. root@anmkj:~# docker exec -it qinglong bash
  14. root@qinglong:/ql $ cd data/scripts/gerenyongcangku_imaotai/
  15. root@qinglong:/ql/data/scripts/gerenyongcangku_imaotai $ ls
  16. __pycache__  config.py  encrypt.py  login.py  main.py  notify.py  process.py  sendNotify.js
  17. root@qinglong:/ql/data/scripts/gerenyongcangku_imaotai $ python login.py

  18. 请输入你的位置,例如[小区名称],为你自动预约附近的门店:安满科技
  19. 0 : [地区:河北省,位置:河北省秦皇岛市海港区安满科技]
  20. 请选择位置序号,重新输入请输入[-]:0
  21. 已选择 地区:河北省,[河北省秦皇岛市海港区安满科技]附近的门店
  22. 输入手机号[13812341234]:13833508665
  23. 输入 [13833508665] 验证码[1234]:374551
  24. 是否继续添加账号[Y/N]:n
  25. root@qinglong:/ql/data/scripts/gerenyongcangku_imaotai $
复制代码


您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表