Skip to content

Conversation

@aprilrieger
Copy link
Collaborator

@aprilrieger aprilrieger commented Feb 22, 2024

First pass at adding the script, need to make sure the paths work on demo aka prod env

in your terminal enter a screen process with screen -xRR

You will need to transfer the txt file from the client to the worker pod in the k8 cluster
k cp /Users/aprilrieger/softserv/ams/NJN_forupdates_txt.txt worker-pod-name:/tmp/imports/NJN_forupdates_txt.txt

Then drop into a rails console rails c

Then run the job and pass the path of the file: PriorityImportsJob.perform_now('tmp/imports/NJN_forupdates_txt.txt')

Once the job is completed you will need to create an importer from a path and add the path to the folder (the name of the filename, example: NJN_forupdates_txt)

git push
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

Successfully merging this pull request may close these issues.

2 participants