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

show command line for import settings #8

Open
andrisi opened this issue Dec 6, 2024 · 3 comments
Open

show command line for import settings #8

andrisi opened this issue Dec 6, 2024 · 3 comments

Comments

@andrisi
Copy link

andrisi commented Dec 6, 2024

When importing the same dataset many times for testing purposes and refining with each cycle it would be very beneficial if there would be no need to set up fields and settings each time. A simple solution would be to show the command line that could be run to replay the given import. Or save the settings to a file, and allow one not just to undo an import, but to rerun it with the same parameters. Thanks.

@Daniel-KM
Copy link
Owner

I think this is a issue for Csv Import, not Bulk import, because if you config your importer, all the config will remain.

@andrisi
Copy link
Author

andrisi commented Dec 9, 2024

Sorry, maybe I reported it in the wrong repo. I need to import a bunch of different files to different sites, so if this applies to this module too, then remembering the previous run's config is not helpful enough unfortunately.

@Daniel-KM
Copy link
Owner

The command line is a standard job launch. The module contains an option to allows to store the job so it can be used via a cron task (see module EasyAdmin).
The command line to run a job on omeka is:

php '/path/to/omeka/application/data/scripts/perform-job.php' --job-id 1 --server-url 'https://example.org' --base-path '/'

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

2 participants