Uploaded image for project: 'JS - JobScheduler'
  1. JS - JobScheduler
  2. JS-133

Allow a job start based on file events

    XMLWordPrintable

Details

    • Feature
    • Status: Deferred (View Workflow)
    • Minor
    • Resolution: Unresolved
    • 1.3.1, 1.3.2, 1.3.3
    • None
    • Job Scheduler Binaries
    • None

    Description

      Current Situation

      • The attribute <job start_when_directory_changed="..."> is used in order to cause a job start if changes to the monitored directory would occur.
      • Such changes include added, modified and deleted files.

      Desired Behavior

      • The attribute <job start_when_directory_changed="..." event="...> can be used to register for specific events.
      • The event attribute contains a list of events separated by spaces.
        • Possible events:
          • deleted - if a file (matching the regex) is deleted
          • added - if a file (matching the regex) is created
          • modified - if a file (matching the regex) is updated (timestamp changed)
        • Default value: event="added deleted"
      • Add the corresponding API function
        spooler_job.start_when_directory_changed( string directory_path, string filename_pattern, string events )
        

      Maintainer Notes

      • This feature is likely not to be implemented as it is intended for standalone jobs. Such jobs will be moved to job chains in future releases.
      • Instead this feature is considered a requirement for the JobScheduler Universal Agent as specified in JS-1300.
      • Please vote for this feature and let us know your feedback.

      Attachments

        Issue Links

          Activity

            People

              sos_engine_team TeamEngine
              al Andreas Liebert (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: