Magidoc

scheduleGoalMetricSync
Mutation

Creates a cron job that runs syncGoalFromWidget for the goal at dateTime and then on the repeatOn cadence. Replaces any existing schedule for the goal.

Arguments

#

goalId

ID !
Non-null

dateTime

Non-null

repeatOn

Non-null

name

Response

#

Returns CronJob !.

Example

#