You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

The show_jobs command actually has an outdated behaviour, it is not recognizing the subfolders of the hotfolder and therefore the subfolders are not in the xml-response of this command.

The show_state command is much more "intelligent". With this command one can request folders and subfolders (and some other things more) in an even more performant way.

An example:

     <show_state subsystems="folder job" what="folders"/>

will give all jobs in all folders. the structure of the response-xml will reflect the structure of the folders.

To get the first level of a folder-structure only:

     <show_state what="folders job_chains no_subfolders" />

This will result in a xml-response with all folders and files on level 1 of the hotfolder.
To get the structure of a subfolder, e.g. with name "oh", the command

     <show_state what="folders job_chains no_subfolders" path="/oh"/>

will give the requested response.

I did test this on a JobScheduler Version 1.3.9.0211.

  • No labels