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

Update get_bad_emails_from_log to consume more script logs #157

Open
pbchase opened this issue May 24, 2023 · 1 comment
Open

Update get_bad_emails_from_log to consume more script logs #157

pbchase opened this issue May 24, 2023 · 1 comment

Comments

@pbchase
Copy link
Contributor

pbchase commented May 24, 2023

Update get_bad_emails_from_log to consume more script logs. We have just deployed remind_owners_to_review_ownership.R which tests every owner and PI email address in the REDCap system. It generates about 1200 email in the process.

get_bad_emails_from_log should read its logs as well. I ran some tests and found the fix is not as simple as we might want because the existing jobs write data to a data frame called billing_alert_log while remind_owners_to_review_ownership.R names the data frame email_log. You're welcome :-)

Consider using the newish function, unnest_job_summary_data_json_object(), under development in ctsit/redcapcustodian#111

@pbchase
Copy link
Contributor Author

pbchase commented May 24, 2023

Note, the first run of remind_owners_to_review_ownership.R on 2023-05-24 did not produce any errors. I hope that means our existing process is ferreting them out that well. :-)

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