File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -268,7 +268,7 @@ export class Crons {
268268 }
269269
270270 /**
271- * Schedule a mutation or action to run on an hourly basis .
271+ * Schedule a mutation or action to run at some interval .
272272 *
273273 * ```js
274274 * crons.interval("Clear presence data", {seconds: 30}, api.presence.clear);
@@ -310,13 +310,12 @@ export class Crons {
310310 }
311311
312312 /**
313- * Schedule a mutation or action to run on a daily basis.
313+ * Schedule a mutation or action to run on an hourly basis.
314314 *
315315 * ```js
316- * crons.daily (
316+ * crons.hourly (
317317 * "Reset high scores",
318318 * {
319- * hourUTC: 17, // (9:30am Pacific/10:30am Daylight Savings Pacific)
320319 * minuteUTC: 30,
321320 * },
322321 * api.scores.reset
@@ -387,6 +386,7 @@ export class Crons {
387386 * crons.weekly(
388387 * "Weekly re-engagement email",
389388 * {
389+ * dayOfWeek: "Tuesday",
390390 * hourUTC: 17, // (9:30am Pacific/10:30am Daylight Savings Pacific)
391391 * minuteUTC: 30,
392392 * },
You can’t perform that action at this time.
0 commit comments