Créer une tâche 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 |
Autorisations
This API requires a title secret key, available to title admins, from PlayFab Game Manager.
Corps
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.
Sujets connexes
Obtenir une instance de tâche Cloud ScriptCréer une tâche d'actions sur les joueurs d'un segmentDémarrage rapide des tâches planifiéesCréer une tâche de mise à l'échelle planifiée InsightsGuide de démarrage rapide de PlayFab CloudScript avec Azure Functions