Groups
Sign in
Groups
USTC_LUG
Conversations
About
Send feedback
Help
分享一篇文章,写脚本的幂等tips
38 views
Skip to first unread message
youngl...@gmail.com
unread,
Dec 9, 2021, 3:32:59 AM
12/9/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to USTC_LUG
这种情况经常发生,编写了一个 bash 脚本,由于错误而中途退出。你修复脚本中的错误并再次运行脚本。但是脚本中的一些步骤不能重复执行。
https://arslan.io/2019/07/03/how-to-write-idempotent-bash-scripts/
Reply all
Reply to author
Forward
0 new messages