Uploaded image for project: 'Modules'
  1. Modules
  2. MODULES-7212

scheduled_task : Add support for task flags

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Duplicate
    • Affects Version/s: scheduled_task 0.3
    • Fix Version/s: None
    • Component/s: scheduled_task
    • Labels:
    • Template:
    • Acceptance Criteria:
      Hide
      • Determine list of flags to support
      • Determine if they should be modeled as individual attributes (presently the task has an "enabled" flag which corresponds directly to TASK_FLAG_DISABLED)
      • Add integration tests demonstrating flags may be set / read / modified / behave idempotently
      Show
      Determine list of flags to support Determine if they should be modeled as individual attributes (presently the task has an "enabled" flag which corresponds directly to TASK_FLAG_DISABLED) Add integration tests demonstrating flags may be set / read / modified / behave idempotently
    • Team:
      Windows
    • Sprint:
      Windows 2019-02-20
    • QA Risk Assessment:
      Needs Assessment

      Description

      There are a number of task level flags that can be set, but that are not presently supported in the module. The complete list appears at https://msdn.microsoft.com/en-us/library/windows/desktop/aa381283(v=vs.85).aspx and includes

       

      TASK_FLAG_INTERACTIVE
      TASK_FLAG_DELETE_WHEN_DONE
      TASK_FLAG_DISABLED
      TASK_FLAG_RUN_ONLY_IF_LOGGED_ON
      TASK_FLAG_START_ONLY_IF_IDLE
      TASK_FLAG_SYSTEM_REQUIRED
      TASK_FLAG_KILL_ON_IDLE_END
      TASK_FLAG_RESTART_ON_IDLE_RESUME
      TASK_FLAG_KILL_ON_IDLE_END
      TASK_FLAG_DONT_START_IF_ON_BATTERIES
      TASK_FLAG_KILL_IF_GOING_ON_BATTERIES
      TASK_FLAG_RUN_IF_CONNECTED_TO_INTERNET
      

      Some of these may not be useful in a managed configuration (most specifically TASK_FLAG_DELETE_WHEN_DONE)

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            ethan Ethan Brown
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support