Skip to content

Different Primary Key With Date of Scan #18

@Heinrick

Description

@Heinrick

Having lots of xml files from cronjobs set to scan every 6 hours on our work network, I'd like to import into a db. This script sets the last_scanned to the time of the import and the actual date that it was scanned is thrown away. I've hacked my version(I'm not good at perl), to use host and actual date of scan as primary key while throwing away last_scanned field since import time is not useful to me. If someone could show me how to do the above properly along with possibly adding os info from scan, that would really make this useful for me. Any plans to update for other DB's(Postgres, etc) or is this project no longer actively adding features?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions