Skip to content

Commit bd02289

Browse files
committed
fixup! fixup! feat: add crontab package for supporting autostart/stop. This is basically a small wrapper around robfig/cron/v3.
1 parent c92c8eb commit bd02289

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

coderd/crontab/crontab_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"testing"
55
"time"
66

7-
"github.com/coder/coder/coderd/cron"
7+
"github.com/coder/coder/coderd/crontab"
88
"github.com/stretchr/testify/require"
99
)
1010

@@ -51,7 +51,7 @@ func Test_Parse(t *testing.T) {
5151
testCase := testCase
5252
t.Run(testCase.name, func(t *testing.T) {
5353
t.Parallel()
54-
actual, err := cron.Parse(testCase.spec)
54+
actual, err := crontab.Parse(testCase.spec)
5555
if testCase.expectedError == "" {
5656
nextTime := actual.Next(testCase.at)
5757
require.NoError(t, err)

0 commit comments

Comments
 (0)