简体   繁体   中英

Why is my hour parameter not working in node-cron

I am trying to run a cron job using node-cron every Monday at 8:30 so I use "30 8 * * Mon" which never runs (I also used "30 08 * * Mon" to be sure). After a bit of troubleshooting, I have seen that "30 * * * Mon" does work and runs on the 30th min of every hour. Can anyone help me figure this out, please?

try this (*/30 08 * * Mon) and for any more queries visit https://crontab.guru/#*/30_08_*_*_Mon

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM