Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    OTTER 3.0.12 / jobs scheduling add +2H

    Scheduled Pinned Locked Moved Support
    otter
    6 Posts 4 Posters 14 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P Offline
      philippe.camelio_3885
      last edited by

      Hi,
      Just to report that job scheduling is not working as expected

      I scheduled a job to run the 09 October 2021 @23:30 but the job is scheduled the 10 October @01:30

      My zoneTime is Europe\Paris (French time).
      I am using Otter 3.0.12 on Windows / Install using InedoHub

      1 Reply Last reply Reply Quote 0
      • rhessingerR Offline
        rhessinger inedo-engineer
        last edited by

        Hi @philippe-camelio_3885,

        When setting the time for a scheduled Job, is it always 2 hours later? Can you tell me what time zone you have set in your User preferences?

        Also, could you find the Job in the database and tell me what the CRON configuration is? you can do that by running the following SQL:

        SELECT [Job_Id]
              ,[Job_Name]
              ,[LastRun_Date]
              ,[JobState_Code]
              ,[Job_Configuration]
              ,[Recurring_Indicator]
              ,[TriggeredBy_Template_Name]
          FROM [Otter].[dbo].[Jobs]
          WHERE [Recurring_Indicator] = 'Y'
        

        Then open the XML in the Job_Configuration column and look for the CronSchedule attribute on the Properties element.

        Thanks,
        Rich

        Products Engineer, Inedo

        1 Reply Last reply Reply Quote 0
        • P Offline
          philippe.camelio_3885
          last edited by

          Hi,
          In user preference, I just can select Dark Mode

          Here are some screenshots on what I did - it not a recuring job

          802bea2a-d71b-4037-9d9d-2ce1fb7d5c7f-image.png

          1a240672-ce6e-487b-9b9f-841ce6ebc1f0-image.png

          As it is not a recuring job I change your SQL request:

          SELECT [Job_Id]
                ,[Job_Name]
                ,[LastRun_Date]
                ,[JobState_Code]
                ,[Job_Configuration]
                ,[Recurring_Indicator]
                ,[TriggeredBy_Template_Name]
            FROM [Otter3].[dbo].[Jobs]
            WHERE [Recurring_Indicator] = 'N'
          

          1334c20f-9720-4660-9d52-5e3e5d61470a-image.png

          <Inedo.Otter.Jobs.JobConfiguration Assembly="OtterCoreEx">
            <Properties JobType="Orchestration" ServerTargeting="Specific" Simulation="False" Async="False">
              <ScriptId>Windows::Script::SQL-BackupDatabaseVersTransit.ps1</ScriptId>
              <ServerNames>
                <Item>*********************</Item>
              </ServerNames>
              <ServerRoleNames />
              <EnvironmentNames />
              <Variables>
                <Variable Name="BackupInstance">**************</Variable>
                <Variable Name="BackupDB">*********</Variable>
                <Variable Name="BackupDestination">\\*****************$</Variable>
              </Variables>
            </Properties>
          </Inedo.Otter.Jobs.JobConfiguration>
          

          Best Regards
          PhilippeC.

          atrippA 1 Reply Last reply Reply Quote 0
          • atrippA Offline
            atripp inedo-engineer @philippe.camelio_3885
            last edited by

            Thanks @philippe-camelio_3885 - with this, we can clearly see what the issue is; basically it's a UI bug on this page where we must have forgot to save the data as a UTC time. We'll get this fixed ASAP - stay tuned.

            P 1 Reply Last reply Reply Quote 0
            • P Offline
              philippe.camelio_3885 @atripp
              last edited by

              @atripp 👍

              1 Reply Last reply Reply Quote 0
              • Dan_WoolfD Offline
                Dan_Woolf inedo-engineer
                last edited by

                Hi @philippe-camelio_3885,

                This has been fixed and will be released in Otter 3.0.13 which is expected to be released on October 22nd 2021.

                Thanks,
                Dan

                1 Reply Last reply Reply Quote 0

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                • 1 / 1
                • First post
                  Last post
                Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation