feat(cron): start of working loop

This commit is contained in:
Jef Roosens 2022-04-30 11:31:14 +02:00
parent 4d26797453
commit 6f9e1b5f3c
Signed by untrusted user: Jef Roosens
GPG key ID: B75D4F293C7052DB
3 changed files with 57 additions and 24 deletions

View file

@ -114,7 +114,7 @@ pub fn (ce &CronExpression) next(ref time.Time) ?time.Time {
})
}
fn (ce &CronExpression) next_from_now() ?time.Time {
pub fn (ce &CronExpression) next_from_now() ?time.Time {
return ce.next(time.now())
}