Skip to content

Commit e5044bb

Browse files
Merge pull request #5 from MotiaDev/cron-job-note-fix
0 -> * for seconds in cron, how ive seen it elsewhere
2 parents e29f192 + b634fc0 commit e5044bb

File tree

4 files changed

+1
-1
lines changed

4 files changed

+1
-1
lines changed

templates/iii/quickstart.zip

0 Bytes
Binary file not shown.

templates/iii/quickstart/services/client/src/worker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ registerTrigger({
3636
registerTrigger({
3737
type: "cron",
3838
function_id: health.id,
39-
config: { expression: "0/30 * * * * * *" }, // Cron jobs in iii support seconds, this executes every 30 seconds
39+
config: { expression: "*/30 * * * * * *" }, // Cron jobs in iii support seconds, this executes every 30 seconds
4040
});
4141

4242
// The advantage of this structure is that this code can directly call

templates/motia/blank.zip

0 Bytes
Binary file not shown.

templates/motia/quickstart.zip

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)