Uploaded image for project: 'Red Hat OpenShift Data Science'
  1. Red Hat OpenShift Data Science
  2. RHODS-8932

Wrong example cron string in Data Science Pipelines scheduled recurring run

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Normal
    • None
    • RHODS_1.27.0_GA
    • UI
    • False
    • None
    • False
    • Release Notes
    • Testable
    • No
    • No
    • Hide
      [id="bug-fixes_RHODS-8932_{context}"]
      == Incorrect cron format was displayed by default when scheduling a recurring pipeline run
      When you scheduled a recurring pipeline run by configuring a cron job, the {productname-short} interface displayed an incorrect format by default. It now displays the correct format.
      Show
      [id="bug-fixes_ RHODS-8932 _{context}"] == Incorrect cron format was displayed by default when scheduling a recurring pipeline run When you scheduled a recurring pipeline run by configuring a cron job, the {productname-short} interface displayed an incorrect format by default. It now displays the correct format.
    • Bug Fix
    • No
    • Pending
    • None

    Description

      Description of problem:

      If you create a Scheduled run for a pipeline, when selecting Run type = schedule recurring run
      we find this value: 

      cron =  0 0 0 * *

      But this is not correct, as the format needs to be compatible with the CRON Expression Format for the Go cron package, which has an extra field for the  seconds at the beginning. So, I think the correct value for the example would be:

      0 0 0 * * *
      

      Note: I found a reference to format in the python kfp source code

       

      In addition of fixing the example value, I think it would be very helpful to users:

      • To display the current time in the cluster, which is the one that will be used when running the scheduled jobs
      • To add a link to the  CRON Expression Format for the Go cron package or to the user docs explaining how to configure scheduled runs (not published yet)

      Build Details:

      RHODS 1.27 RC Build 504085

      Attachments

        Activity

          People

            Unassigned Unassigned
            rhn-support-jgarciao Jorge Garcia Oncins
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: