robfig / cron

a cron library for go
MIT License
13.15k stars 1.63k forks source link

crontab run error #500

Closed zhuliquan closed 1 year ago

zhuliquan commented 1 year ago

AddFunc func using * */1 * * * * or */1 * * * * *, run every seconds

ChetWang commented 1 year ago

if you want to run every minute, try: 0 /1 ?

zhuliquan commented 1 year ago

I just test, your expr is ok and find 0 */1 * * * * is also ok