You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
_, err = reportingCron.AddFunc("0 7 * * *", func() { }
An entry is registered in cron, when printing out said entry you receive a default time:
logrus: time="2022-10-04T13:35:31-07:00" level=info msg="{1 0xc0001e0700 0001-01-01 00:00:00 +0000 UTC 0001-01-01 00:00:00 +0000 UTC 0x8bdd40 0x8bdd40}"
fmt.Println: {1 0xc0001e0700 0001-01-01 00:00:00 +0000 UTC 0001-01-01 00:00:00 +0000 UTC 0x8bdd40 0x8bdd40}
The text was updated successfully, but these errors were encountered:
When passing the following for AddFunc:
_, err = reportingCron.AddFunc("0 7 * * *", func() { }
An entry is registered in cron, when printing out said entry you receive a default time:
logrus:
time="2022-10-04T13:35:31-07:00" level=info msg="{1 0xc0001e0700 0001-01-01 00:00:00 +0000 UTC 0001-01-01 00:00:00 +0000 UTC 0x8bdd40 0x8bdd40}"
fmt.Println:
{1 0xc0001e0700 0001-01-01 00:00:00 +0000 UTC 0001-01-01 00:00:00 +0000 UTC 0x8bdd40 0x8bdd40}
The text was updated successfully, but these errors were encountered: