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

NO-REF: Adding ability to run scripts via main.py #527

Merged
merged 1 commit into from
Jan 16, 2025

Conversation

kylevillegas93
Copy link
Contributor

Description

  • Adds ability to run scripts via main.py and therefore on the EC2 instance, which has access to ES in order to delete the work documents

Testing

python main.py -sc cleanup_duplicate_works -e local

Copy link
Contributor

@mitri-slory mitri-slory left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good change! This is a cleaner way to run the scripts then having the scriptrunner.py file from before and matches how we run the processes as well.

@kylevillegas93 kylevillegas93 merged commit 93b7217 into main Jan 16, 2025
1 check passed
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