cron golang每隔24小时运行一次吗?

cron golang is running after every 24 hours but when I am trying to change the system time, it is not invoking.

code:

package main;

import(
    "fmt"
    "strconv"
    "strings"
    "gopkg.in/robfig/cron.v2"
    "time"
    )

func Envoke_ASSET_INFO() {    
    fmt.Println("Invoking Envoke_ASSET_INFO ", time.Now())
}

func main(){
    C:=cron.New()

    min:=strconv.Itoa(int(17))
    h:=strconv.Itoa(int(16))

    sep:="0"+" "+min+" "+h+" "+"*"+" "+"*"+" "+"*"
    fmt.Println("SPECIFATION PASSED TO FUNCTION :", sep)    
    C.AddFunc(sep, Envoke_ASSET_INFO )
    C.Start()
    select{}
}

When I am running this program it is evoking my function. But when I change my system time (+24 hours) to check the next evoking it is not happening.

This is not how cron works. Cron won't run overdue tasks when you change system time. Think what would happen if it worked that way and you turned your machine on after 2 days with job scheduled to run every 5 minutes. If you really want to test it that way you should change the system time to a time just before your job is supposed to run and wait to see if it does.

Personally I think that it's a better idea to pass hour and minute as parameters and check if the job is running on next minute or something.