diff --git a/content/post/2017-02.md b/content/post/2017-02.md index 820dc1b7d..d0ff82b9f 100644 --- a/content/post/2017-02.md +++ b/content/post/2017-02.md @@ -161,3 +161,9 @@ dspace=# update metadatavalue set text_value = regexp_replace(text_value, 'http: ``` - Run all DOI corrections on CGSpace +- Something to think about here is to write a [Curation Task](https://wiki.duraspace.org/display/DSDOC5x/Curation+System#CurationSystem-ScriptedTasks) in Java to do these sanity checks / corrections every night +- Then we could add a cron job for them and run them from the command line like: + +``` +[dspace]/bin/dspace curate -t noop -i 10568/79891 +``` diff --git a/public/2017-02/index.html b/public/2017-02/index.html index 327137e20..9760a9101 100644 --- a/public/2017-02/index.html +++ b/public/2017-02/index.html @@ -92,7 +92,7 @@ Looks like we’ll be using cg.identifier.ccafsprojectpii as the field name "headline": "February, 2017", "url": "https://alanorth.github.io/cgspace-notes/2017-02/", - "wordCount": "1112", + "wordCount": "1157", "datePublished": "2017-02-07T07:04:52-08:00", @@ -356,8 +356,13 @@ dspace=# update metadatavalue set text_value = 'https://dx.doi.org/10.15446/agro +
[dspace]/bin/dspace curate -t noop -i 10568/79891
+
+ diff --git a/public/index.xml b/public/index.xml index c2db0bf7f..70c31c8da 100644 --- a/public/index.xml +++ b/public/index.xml @@ -204,7 +204,12 @@ dspace=# update metadatavalue set text_value = 'https://dx.doi.org/10.15446/ <ul> <li>Run all DOI corrections on CGSpace</li> -</ul> +<li>Something to think about here is to write a <a href="https://wiki.duraspace.org/display/DSDOC5x/Curation+System#CurationSystem-ScriptedTasks">Curation Task</a> in Java to do these sanity checks / corrections every night</li> +<li>Then we could add a cron job for them and run them from the command line like:</li> +</ul> + +<pre><code>[dspace]/bin/dspace curate -t noop -i 10568/79891 +</code></pre> diff --git a/public/post/index.xml b/public/post/index.xml index 798cc04f7..967a97181 100644 --- a/public/post/index.xml +++ b/public/post/index.xml @@ -204,7 +204,12 @@ dspace=# update metadatavalue set text_value = 'https://dx.doi.org/10.15446/ <ul> <li>Run all DOI corrections on CGSpace</li> -</ul> +<li>Something to think about here is to write a <a href="https://wiki.duraspace.org/display/DSDOC5x/Curation+System#CurationSystem-ScriptedTasks">Curation Task</a> in Java to do these sanity checks / corrections every night</li> +<li>Then we could add a cron job for them and run them from the command line like:</li> +</ul> + +<pre><code>[dspace]/bin/dspace curate -t noop -i 10568/79891 +</code></pre> diff --git a/public/tags/notes/index.xml b/public/tags/notes/index.xml index bbb5d503e..ec44eec4f 100644 --- a/public/tags/notes/index.xml +++ b/public/tags/notes/index.xml @@ -203,7 +203,12 @@ dspace=# update metadatavalue set text_value = 'https://dx.doi.org/10.15446/ <ul> <li>Run all DOI corrections on CGSpace</li> -</ul> +<li>Something to think about here is to write a <a href="https://wiki.duraspace.org/display/DSDOC5x/Curation+System#CurationSystem-ScriptedTasks">Curation Task</a> in Java to do these sanity checks / corrections every night</li> +<li>Then we could add a cron job for them and run them from the command line like:</li> +</ul> + +<pre><code>[dspace]/bin/dspace curate -t noop -i 10568/79891 +</code></pre>