connorlixyz commited on
Commit
d12da9d
1 Parent(s): 895f8fd

Update index.js

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