Skip to content
This repository has been archived by the owner on Mar 3, 2024. It is now read-only.

Latest commit

 

History

History
32 lines (20 loc) · 606 Bytes

README.md

File metadata and controls

32 lines (20 loc) · 606 Bytes

aliyun-ddns

Update Aliyun DDNS automaticly 自动更新阿里云DDNS

1. Install 安装

$ git clone https://github.com/mingwiki/aliyun-ddns.git && cd aliyun-ddns && mv .env-example .env

2. Configuration 配置

修改.env文件 输入阿里云AccessKey

如何获取阿里云云账号AccessKey ID和AccessKey Secret

3. Start 启动

$ npm install && npm start

4. crontab

每12小时执行一次

$ crontab -e
  0 */12 * * * /usr/bin/npm start --prefix /path/to/aliyun-ddns
$ crontab -l