question

larissa avatar image
larissa asked

Scheduled task affecting 0 players

One of our scheduled tasks, that is running on the AllPlayers segment suddenly stopped working properly about a couple weeks ago. When looking at the task history, it shows

Status: succeeded

Players affected: 0

on all past executions.

Additional info:

- The task executes a cloudscript on the AllPlayers segment

- The same cloudscript with the same arguments run manually on an individual player works just fine

- It worked before with the exact same configuration, we didn't change anything

- The AllPlayers segment does show the (almost) correct player count (it is off by about 1k players compared to the count shown on the "Players" tab)

- Example "Summary" from 1 task instance:

{
    "TaskInstanceId": "XXXXXXXXXXXXXXXX-5840",
    "TaskIdentifier": {
        "Name": "MyTask",
        "Id": "XXXXXXXXXXXXXXXX"
    },
    "StartedAt": "2019-11-25T12:00:33.3933508",
    "CompletedAt": "2019-11-25T12:02:06.5980365",
    "Status": "Succeeded",
    "PercentComplete": null,
    "EstimatedSecondsRemaining": null,
    "ScheduledByUserId": null,
    "ErrorMessage": null,
    "ErrorWasFatal": null,
    "TotalPlayersInSegment": 0,
    "TotalPlayersProcessed": 0
}
scheduled tasks
10 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Citrus Yan avatar image Citrus Yan commented ·

@larissa Can you share your title id?

0 Likes 0 ·
larissa avatar image larissa Citrus Yan commented ·

The title is B171 and the taskID is A99560AE336F1669

0 Likes 0 ·
Citrus Yan avatar image Citrus Yan larissa commented ·

OK, I reported it to the engineering team, any updates will keep you informed:)

1 Like 1 ·
Show more comments

1 Answer

·
Seth Du avatar image
Seth Du answered

Hi, we have received the feedback from the team that Scheduled Tasks not working issue should be fixed now. Please feel free to tell us if you still have any problems on implementing Scheduled Tasks.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.