admin管理员组

文章数量:1530842

文档

  • github https://github/node-schedule/node-schedule
  • npmjs https://www.npmjs/package/node-schedule

cron 格式

*    *    *    *    *    *
┬    ┬    ┬    ┬    ┬    ┬
│    │    │    │    │    │
│    │    │    │    │    └ day of week (0 - 7) (0 or 7 is Sun)
│    │    │    │    └───── month (1 - 12)
│    │    │    └────────── day of month (1 - 31)
│    │    └─────────────── hour (0 - 23)
│    └──────────────────── minute (0 - 59)
└───────────────────────── second (0 - 59, OPTIONAL)

安装

node -v
v16.14.0

本文标签: schedulenodecrontabjs