Skip to content

优化自动化脚本显示,添加自动化安装说明 #18

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jan 3, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update README.md
  • Loading branch information
sanshu-rom authored Jan 3, 2025
commit db6df3786abdcf44b9a94b2a31615a00dcaf714f
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,16 @@ todo:

2.自动化安装方案(直接薅道长羊毛)
* 终端执行

bash -c "$(curl -fsSLk https://github.com/hjdhnx/drpy-node/raw/refs/heads/main/autorun.sh)"

* 添加定时方案

echo "30 7 * * * bash -c \"\$(curl -fsSLk https://github.com/hjdhnx/drpy-node/raw/refs/heads/main/autorun.sh)\"" >> /path/logfile.log 2>&1" | crontab -
或者下载脚本到本地后

chmod a+x /path/autorun.sh

echo "30 7 * * * bash /path/autorun.sh " >> /path/logfile.log 2>&1" | crontab -

命令说明 /patch 为脚本存放路径(脚本放在与源码同级的自定义目录中)