• Sign Up Login
  • Features
    • Game Services
    • Real-time Analytics
    • LiveOps
    • Add-ons
  • Game Services
  • Real-time Analytics
  • LiveOps
  • Add-ons
  • Games
  • Pricing
  • Blog
  • Support
    • Docs
    • Forums
    • Contact
  • Docs
  • Forums
  • Contact
  • Sign Up Login
  • Ask a question
  • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Topics
    • Questions
    • Ideas
    • Articles
    • Users
    • Badges
  • Home /
  • General Discussion /
avatar image
Question by Koen · Jul 20, 2017 at 01:17 PM · CloudScriptscheduled tasks

Is it possible to start a scheduled task from another scheduled task?

This is probably a very specific use case, but I'll give it a try. We want to run a scheduled task on a segment of players to run a CloudScript action. But we only want to run the scheduled task if certain conditions are met. But we want to check these conditions (on title data level) first, before starting the task (since the task could possibly take a long time to run).

It's not possible for us to start the task manually so we'd like a task that runs every hour to check these conditions (simple check). If they are true, start the long task for all the players. Is something like this possible (I hope the case is clear enough)?

This way we won't have the start the long task every hour, hoping the conditions are met already, cause this could result in a long delay before a task is run when the conditions are indeed met, since the next task would fail because the previous one is still running.

We're on the free plan currently, and until the playerbase is sufficient enough (which will probably take a while after launch), we can upgrade to the pro plan, so we only have 1 concurrent scheduled task at the moment.

Comment

People who like this

0 Show 0
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
Best Answer

Answer by Brendan · Jul 20, 2017 at 06:14 PM

You can't run a Scheduled Task from another Scheduled Task, but can you describe in more detail what the scenario is? How is Title Data being changed, specifically?

Comment

People who like this

0 Show 0 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Navigation

Spaces
  • General Discussion
  • API and SDK Questions
  • Feature Requests
  • PlayStream
  • Bugs
  • Add-on Marketplace
  • LiveOps
  • Follow this Question

    Answers Answers and Comments

    1 Person is following this question.

    avatar image

    Related Questions

    Scheduled Tasks and DailyLeaderboard. 1 Answer

    Is it possible to abort a scheduled task inside the CloudScript function? 1 Answer

    How to make cron jobs on Playfab? 1 Answer

    Alternative way of implementing energy restoration logic 1 Answer

    Getting global stats for events 1 Answer

    • PlayFab

      • Features
      • Games
      • Pricing
      • Blog
    • Engineers

      • Documentation
      • Quickstarts
      • API Reference
      • SDKs
      • Usage Limits
    • Support

      • Forums
      • Videos
      • Contact
      • Service Health
      • Terms of Service
    • Social

      • Facebook
      • Twitter
      • LinkedIn
      • YouTube
    • Privacy & cookies
    • Terms of use
    • Trademarks
    • About Microsoft
    • Jobs
    • Accessibility
    • Diversity & inclusion
    • Security
    • Company news
    • © Microsoft 2019
    • Anonymous
    • Sign in
    • Create
    • Ask a question
    • Post an idea
    • Create an article
    • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Explore
    • Topics
    • Questions
    • Ideas
    • Articles
    • Users
    • Badges