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

Compare with Current View Page History

« Previous Version 11 Next »

The filters in the Job Scheduler OperationGUI are stored in cookies because it is only implemented by javascript.

But since release 1.3.7.x you can set the filters by editing in the configuration file custom.js.

This file is stored in the ./config/operations_gui directory.

For releases < 1.3.9 you find the custom.js in the ./config/html directory.

For further information about custom.js see here.

The filters are edit in the form

 _job_filter['filter name']         = 'regular expression'; //to set a job filter
 _job_chain_filter['filter name']   = 'regular expression'; //to set a job chain filter
 _order_filter['filter name']       = 'regular expression'; //to set an order filter
 //or use 
 _project_filter['filter name']     = 'regular expression';
 //which is effective for jobs, job chains and orders simultaneously
  • Example1:
    The filter projectA contains all objects which are stored in the Hot Folder subdirectory projectA:
 _project_filter['projectA']        = '^/projectA/';
  • Example2:
    The filter ftpJobs contains all jobs which have a suffix _ftp in its names:
 _job_filter['ftpJobs']             = '_ftp$';
  • Example3:
    The filter someJobChains contains the job chains myFirstProject/myFirstJobChain and mySecondProject/mySecondJobChain:
 _job_chain_filter['someJobChains'] = '^/(myFirstProject/myFirstJobChain|mySecondProject/mySecondJobChain)$';
 //or
 _job_chain_filter['someJobChains'] = '^/my(First|Second)Project/my(First|Second)JobChain$';
  • Example4:
    The filter hideTest1AndTest2 contains all objects which are <span style="color:red;">not</span> stored in the Hot Folder subdirectories dev/test1 and dev/test2:
 _project_filter['hideTest1AndTest2'] = '^/(?!dev/test1/|dev/test2/)';
  • No labels