Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different Primary Key With Date of Scan #18

Open
Heinrick opened this issue Jun 2, 2017 · 0 comments
Open

Different Primary Key With Date of Scan #18

Heinrick opened this issue Jun 2, 2017 · 0 comments

Comments

@Heinrick
Copy link

Heinrick commented Jun 2, 2017

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant