Microsoft Azure PlayFab logo
    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Add-ons
    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA
  • Runs on PlayFab
  • Pricing
    • Blog
    • Forums
    • Contact us
  • Sign up
  • Sign in
  • Ask a question
  • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Topics
    • Questions
    • Articles
    • Ideas
    • 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
Tuomas Karmakallio

People who like this

1 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

    How to make cron jobs on Playfab? 1 Answer

    About the ranking schedule setting 1 Answer

    Need assistance with Unbanning players 1 Answer

    Alternative way of implementing energy restoration logic 1 Answer

    Scheduled Tasks Action Order 1 Answer

    PlayFab

    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Runs on PlayFab
    • Pricing

    Solutions

    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA

    Engineers

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

    Resources

    • Forums
    • Contact us
    • Blog
    • Service Health
    • Terms of Service
    • Attribution

    Follow us

    • Facebook
    • Twitter
    • LinkedIn
    • YouTube
    • Sitemap
    • Contact Microsoft
    • Privacy & cookies
    • Terms of use
    • Trademarks
    • Safety & eco
    • About our ads
    • © Microsoft 2020
    • Anonymous
    • Sign in
    • Create
    • Ask a question
    • Create an article
    • Post an idea
    • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Explore
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges