Feature #228

Config/ini file only applies to scheduled scans

Added by Stephen McGarry 912 days ago. Updated 603 days ago.

Status:New Start:
Priority:Normal Due date:
Assigned to:Karl Heinz Marbaise % Done:

0%

Category:CLI
Target version:0.7.1 Dione

Description

I am using SupoSE from a batch file which runs periodically rather than running the command line all the time with the scheduled cron job triggering the scan.

I've noticed that I cannot specify a config file to be used when doing a scan, which means I can't index multiple repositories, or name them.

Any chance of extending the command line to allow this?

History

Updated by Karl Heinz Marbaise 911 days ago

Hi Stephen,

I am using SupoSE from a batch file which runs periodically rather than running the command line all the time with the scheduled cron job triggering the scan.

So you don't like to use the scheduled part ....you would like to run it with your own scheduling (cron, at like) ?

I've noticed that I cannot specify a config file to be used when doing a scan, which means I can't index multiple repositories, or name them.

There is currently no particular configuration for that (only in scheduled mode) but you can do the following:

  1. supose scan --url URL --create --index index.run
  2. supose merge --destination index.result --index index.run
  3. use the resulting index index.result for searching.

Any chance of extending the command line to allow this?

So you would suggest to have a configuration file (.ini) which defines the above...Hm...i have to think about this...might be usefull...

Kind regards
Karl Heinz Marbaise

Updated by Stephen McGarry 911 days ago

Hi Karl,

I'm working on Windows, and I set up a scheduled task as I found that simpler. I also had concerns that a command line program could stop if the user logs out for example and you wouldn't necessarily know the system had stopped indexing.

The index fields contain the UUID for the repository, but no repository name as this only appears to be set within the config.ini file.

Regards,
Stephen.

Updated by Karl Heinz Marbaise 911 days ago

  • Assigned to set to Karl Heinz Marbaise
  • Target version set to 0.6.2 Calypso
  • Start deleted (08/07/2009)

Hi Stephen,

I'm working on Windows, and I set up a scheduled task as I found that simpler. I also had concerns that a command line program could stop if the user logs out for example and you wouldn't necessarily know the system had stopped indexing.

Ok. That's an reason ...
Hm....isn't there a possibility to start a job only once during boot time...so this could be used to start SupoSE in scheduled mode? I'm no windows expert...May be you know more about that ...?

The index fields contain the UUID for the repository, but no repository name as this only appears to be set within the config.ini file.

Yeah...that's not ok...but the information is not available, cause no configuraiton file exist...should be changed...

Thanks for using SupoSE...

Kind regards
Karl Heinz Marbaise

Updated by Karl Heinz Marbaise 603 days ago

  • Target version changed from 0.6.2 Calypso to 0.7.1 Dione

Also available in: Atom PDF