Crear tarea de Cloud Script
Create a CloudScript task, which can run a CloudScript on a schedule.
Error codes
This operation may return the following PlayFab errors:
| Error | Code |
|---|---|
| InvalidScheduledTaskName | 1256 |
| InvalidTaskSchedule | 1257 |
| ProductDisabledForTitle | 1609 |
| ScheduledTaskCreateConflict | 1255 |
| ScheduledTaskNameConflict | 1254 |
Autorizaciones
This API requires a title secret key, available to title admins, from PlayFab Game Manager.
Cuerpo
Task name is unique within a title. Using a task name that's already taken will cause a name conflict error. Too many create-task requests within a short time will cause a create conflict error.
Task name is unique within a title. Using a task name that's already taken will cause a name conflict error. Too many create-task requests within a short time will cause a create conflict error.
Whether the schedule is active. Inactive schedule will not trigger task execution.
Name of the task. This is a unique identifier for tasks in the title.
Task details related to CloudScript
The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).
Description the task
Cron expression for the run schedule of the task. The expression should be in UTC.
Temas relacionados
Crear tarea de acciones sobre jugadores del segmentoGuía de inicio rápido de CloudScript de PlayFab con Azure FunctionsObtener instancia de tarea de Cloud ScriptEscribir CloudScript personalizadoModelos de contexto de CloudScript de PlayFab con Azure Functions