add README.md

This commit is contained in:
luk
2026-07-31 08:34:32 +08:00
parent 25c8470016
commit b960b5ed6c

17
dcloud-renew/README.md Normal file
View File

@@ -0,0 +1,17 @@
```
npm i
npx playwright install-deps
npx playwright install chromium
HEADLESS=true node renew.mjs 'email' 'password'
```
add to crontab to run automatically:
```
# Renew DCloud uniCloud free-tier subscriptions.
# Runs at 1:00 on the 26th of every month.
#
# Install with: crontab /Users/Shared/product-产品/opx/sysconfig/dcloud-renew/crontab.txt
# (That replaces your whole crontab; use `crontab -e` to merge with existing entries.)
0 1 26 * * /Users/Shared/product-产品/opx/sysconfig/dcloud-renew/renew-all.sh >> /tmp/dcloud-renew.log 2>&1
```