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

scheduled_task : Cannot change from by-weekday to by-date

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: scheduled_task
    • Labels:
      None
    • Template:
      MODULES Bug Template
    • Team:
      Windows
    • Method Found:
      Needs Assessment
    • QA Risk Assessment:
      Needs Assessment

      Description

      As described here as  well, when a by-weekday task is already scheduled, it is unable to change to a by-date schedule.

       

      Error: Neither 'day_of_week' nor 'which_occurrence' can be specified when creating a monthly date-based trigger                     
      Error: /Stage[main]/Windowsupdate::Config/Scheduled_task[Run Windows Update]/trigger: change from [  
        {                                                                                                                                     
          'schedule' => 'monthly',                                                                                                            
          'months' => [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12],                                                                                
          'which_occurrence' => 'second',                                                                                                     
          'day_of_week' => ['saturday'],                                                                                                         
          'start_date' => '2018-8-7',                                                                                                         
          'start_time' => '13:15',                                                                                                            
          'enabled' => true,                                                                                                                  
          'minutes_interval' => 80,                                                                                                           
          'minutes_duration' => 560,                                                                                                          
          'index' => 0                                                                                                                      
        }] to [                                                                                                                             
        {                                                                                                                                     
          'schedule' => 'monthly',                                                                                                            
          'start_time' => '13:15',                                                                                                            
          'months' => [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11],                                                                                    
          'on' => 15,                                                                                                                         
          'minutes_interval' => '80',                                                                                                         
          'minutes_duration' => '560'                                                                                                       
        }] failed: Neither 'day_of_week' nor 'which_occurrence' can be specified when creating a monthly date-based trigger 
      

       

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            DidgeriDude Dirk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Zendesk Support