Skip to content

Commit

Permalink
Merge pull request #14 from kevinxft/dev
Browse files Browse the repository at this point in the history
change to update every 2 hours
  • Loading branch information
kevinxft authored Aug 17, 2024
2 parents 24c8bca + a5781f1 commit 08cd5ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/daily-data-fetch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Daily Data Fetch

on:
schedule:
- cron: "0 8-23/3 * * *"
- cron: "0 */2 * * *"

# allows to manually run the job at any time
workflow_dispatch:
Expand Down
2 changes: 1 addition & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ function generateAsciiTable(data: Data) {

const chartPoint: ChartPoint[] = [];
// 生成表格
let table = "# API使用量(早上8点到晚上11点,3小时更新一次)\n\n";
let table = "# API使用量(2小时更新一次)\n\n";
table += "\n\n ![走势图](./chart.svg)\n\n";

table += "| 日期 | 还剩的总次数 | 当天用的次数 |\n";
Expand Down

0 comments on commit 08cd5ba

Please sign in to comment.