question

liyuehai avatar image
liyuehai asked

Scheduled Cloud Task to Segment don't work

When I add scheduled task and run it.

I got nothing and The most recent task executions also don't have it.

I am thinking if it is an error of PlayFab ?

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.

Calvin Kong avatar image
Calvin Kong Deactivated answered

Yuehai, sorry for the delay.

I saw the task finished successfully on 2/7/2018. Here is the link:

https://developer.playfab.com/en-us/E363/servers/job/CloudScript.E863C1DFBF8713DC-17/detail

Are you saying it cannot be run now?

Do you give permission for us to run the task so that we can debug?

2 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.

liyuehai avatar image liyuehai commented ·

Yes, You can debug it. Just do it.

That is a test for just one user, But when I run it on the all player segment, it got nothing, and There is no "Recent Task Executions" of this task. And when I click the "Last run at" , I got an error page.

Here is the screenshots.

0 Likes 0 ·
Calvin Kong avatar image Calvin Kong liyuehai commented ·

All right. Mystery solved. This particular task has changed its type after it has been run the first time (from running a CloudScript to a segment bulk action), and therefore hanging in a limbo state. We have fixed it earlier so that a task cannot change its type after creation. You can just delete this task, and re-create a new one. Everything should work fine.

0 Likes 0 ·
pfnathan avatar image
pfnathan answered

Can you let us know your TitleID please, and bit more details will be helpfule as well. thank you.

12 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.

liyuehai avatar image liyuehai commented ·

TitleID is E363, and the task name is "SendAllUserDataOnce"

0 Likes 0 ·
pfnathan avatar image pfnathan ♦ commented ·

please re-try and let us know if you are having an same issue.

0 Likes 0 ·
liyuehai avatar image liyuehai pfnathan ♦ commented ·

Sorry for the long time, I have been a vacation these days.

I have test it again and got the same issue.

0 Likes 0 ·
liyuehai avatar image liyuehai pfnathan ♦ commented ·

@pfnathan Can you help me to check it?

0 Likes 0 ·
pfnathan avatar image pfnathan ♦ liyuehai commented ·

We are looking into this, will get back you with our findings.

0 Likes 0 ·
Show more comments

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.