connorlixyz commited on
Commit
0c52c3b
1 Parent(s): 17f182a

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +1 -1
index.js CHANGED
@@ -50,7 +50,7 @@ async function scrapeAndLog(url) {
50
  }
51
 
52
  // 使用cron来安排定期任务
53
- cron.schedule('0 */2 * * * *', () => {
54
  console.log('Running webpage access...');
55
  // 循环访问每个URL
56
  urls.forEach((url) => {
 
50
  }
51
 
52
  // 使用cron来安排定期任务
53
+ cron.schedule('0 */1 * * * *', () => {
54
  console.log('Running webpage access...');
55
  // 循环访问每个URL
56
  urls.forEach((url) => {