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

mingwiki/aliyun-ddns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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