locked
Can not create Azure Scheduler Job Colloection correctly via rest API RRS feed

  • Question

  • Hi Folks,

    I am trying to create a Azure Scheduler job collection via the rest API using Azure Ruby SDK

    I created the request following the API reference. Request body is as follow:

    <Resource xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/windowsazure">
    <IntrinsicSettings>
        <Plan>Standard</Plan>
        <Quota>
            <MaxJobCount>10</MaxJobCount>
            <MaxRecurrence>
                <Frequency>Second</Frequency>
                <Interval>1</Interval>
            </MaxRecurrence>
        </Quota>
    </IntrinsicSettings>
    </Resource>

    After sending the request, I can see the job collection created in the management portal, but the status of that job collection is "Unknown". I can not add add/update jobs under that job collection.

    Below is the log entry I got:

    RuntimeError (ESC[31mESC[1mInternalError: The server encountered an internal error. Please retry the request.ESC[0mESC[0m):

    Can someone shed me some lights on this?

    Thank you very in advance!

    Roy





    • Edited by Roy Wu Tuesday, June 24, 2014 2:15 AM
    Monday, June 23, 2014 10:50 PM

Answers

All replies

  • Hi Roy,

    I am not good at Ruby. But I didn't find any maintenance  information from azure dashboard. The issue is very weird,I will test it on my side and come back.

    Thanks & Regards,

    Will


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.


    Tuesday, June 24, 2014 10:02 AM
  • Hi Will,

    Thank you very much for looking  into it. I have found out the problem.  The problem is the maximum recurrence frequency Azure Scheduler supports is every 1 minute. The example request body I am using is every 1 second, which makes the job collection status to be "Unknown".

    Now after I changed to 1 minute, I am able to create job collection correctly.

    I am wondering does Microsoft have a plan to support the frequency of every 1 second?

    Thanks!

    Roy

    Tuesday, June 24, 2014 1:43 PM
  • Azure Scheduler is not currently planning on supporting recurrences less than one minute.  If you have suggestions please post them to the Scheduler section in the Azure User Voice here: http://feedback.azure.com/forums/230896-scheduler.

    Thanks,

    Kevin

    • Marked as answer by Roy Wu Wednesday, June 25, 2014 4:34 PM
    Tuesday, June 24, 2014 5:02 PM
  • Thanks, Kevin!
    Wednesday, June 25, 2014 4:33 PM