diff options
author | Bryan Newbold <bnewbold@archive.org> | 2021-04-09 13:07:21 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2021-04-09 13:07:21 -0700 |
commit | aa1b437a629701db62a968a38b9d9764e7f912c2 (patch) | |
tree | 72ae5faab3e39035afe155b4a95a104f1820248c /sql/dump_reingest_weekly.sql | |
parent | ba604bbd1e6e865977e6d17873bc5de6389f7cba (diff) | |
download | sandcrawler-aa1b437a629701db62a968a38b9d9764e7f912c2.tar.gz sandcrawler-aa1b437a629701db62a968a38b9d9764e7f912c2.zip |
sql: update paths to work with svc506 machine
Diffstat (limited to 'sql/dump_reingest_weekly.sql')
-rw-r--r-- | sql/dump_reingest_weekly.sql | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sql/dump_reingest_weekly.sql b/sql/dump_reingest_weekly.sql index bc10b22..b49f1f1 100644 --- a/sql/dump_reingest_weekly.sql +++ b/sql/dump_reingest_weekly.sql @@ -15,7 +15,7 @@ COPY ( AND ingest_file_result.status != 'spn2-error:too-many-redirects' AND ingest_file_result.status != 'spn2-error:network-authentication-required' AND ingest_file_result.status != 'spn2-wayback-error' -) TO '/grande/snapshots/reingest_weekly_spn2-error_current.rows.json'; +) TO '/srv/sandcrawler/tasks/reingest_weekly_spn2-error_current.rows.json'; COPY ( SELECT row_to_json(ingest_request.*) FROM ingest_request @@ -28,7 +28,7 @@ COPY ( AND ingest_request.created > NOW() - '8 day'::INTERVAL AND (ingest_request.ingest_request_source = 'fatcat-changelog' OR ingest_request.ingest_request_source = 'fatcat-ingest') -) TO '/grande/snapshots/reingest_weekly_cdx-error_current.rows.json'; +) TO '/srv/sandcrawler/tasks/reingest_weekly_cdx-error_current.rows.json'; COPY ( SELECT row_to_json(ingest_request.*) FROM ingest_request @@ -41,7 +41,7 @@ COPY ( AND ingest_request.created > NOW() - '8 day'::INTERVAL AND (ingest_request.ingest_request_source != 'fatcat-changelog' AND ingest_request.ingest_request_source != 'fatcat-ingest') -) TO '/grande/snapshots/reingest_weekly_cdx-error_bulk_current.rows.json'; +) TO '/srv/sandcrawler/tasks/reingest_weekly_cdx-error_bulk_current.rows.json'; COPY ( SELECT row_to_json(ingest_request.*) FROM ingest_request @@ -52,7 +52,7 @@ COPY ( AND ingest_file_result.status like 'wayback-error' AND ingest_request.created < NOW() - '8 hour'::INTERVAL AND ingest_request.created > NOW() - '8 day'::INTERVAL -) TO '/grande/snapshots/reingest_weekly_wayback-error_current.rows.json'; +) TO '/srv/sandcrawler/tasks/reingest_weekly_wayback-error_current.rows.json'; COPY ( SELECT row_to_json(ingest_request.*) FROM ingest_request @@ -65,7 +65,7 @@ COPY ( AND ingest_request.created > NOW() - '8 day'::INTERVAL AND (ingest_request.ingest_request_source = 'fatcat-changelog' OR ingest_request.ingest_request_source = 'fatcat-ingest') -) TO '/grande/snapshots/reingest_weekly_gateway-timeout.rows.json'; +) TO '/srv/sandcrawler/tasks/reingest_weekly_gateway-timeout.rows.json'; COPY ( SELECT row_to_json(ingest_request.*) FROM ingest_request @@ -78,5 +78,5 @@ COPY ( AND ingest_request.created > NOW() - '8 day'::INTERVAL AND (ingest_request.ingest_request_source = 'fatcat-changelog' OR ingest_request.ingest_request_source = 'fatcat-ingest') -) TO '/grande/snapshots/reingest_weekly_petabox-error_current.rows.json'; +) TO '/srv/sandcrawler/tasks/reingest_weekly_petabox-error_current.rows.json'; |