hoover_pipeline.html 3.28 KB
Newer Older
Matthieu Muffato's avatar
Matthieu Muffato committed
1 2 3 4 5 6
<?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>hoover_pipeline.pl</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
7
<link rev="made" href="mailto:root@localhost" />
Matthieu Muffato's avatar
Matthieu Muffato committed
8 9
</head>

10
<body>
Matthieu Muffato's avatar
Matthieu Muffato committed
11 12


13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41

<h1 id="NAME">NAME</h1>

<pre><code>    hoover_pipeline.pl</code></pre>

<h1 id="SYNOPSIS">SYNOPSIS</h1>

<pre><code>    hoover_pipeline.pl {-url &lt;url&gt; | -reg_conf &lt;reg_conf&gt; -reg_alias &lt;reg_alias&gt;} [ { -before_datetime &lt;datetime&gt; | -days_ago &lt;days_ago&gt; } ]</code></pre>

<h1 id="DESCRIPTION">DESCRIPTION</h1>

<pre><code>    hoover_pipeline.pl is a script used to remove old &#39;DONE&#39; jobs from a continuously running pipeline database</code></pre>

<h1 id="USAGE-EXAMPLES">USAGE EXAMPLES</h1>

<pre><code>        # delete all jobs that have been &#39;DONE&#39; for at least a week (default threshold) :

    hoover_pipeline.pl -url &quot;mysql://ensadmin:${ENSADMIN_PSW}@localhost:3306/lg4_long_mult&quot;


        # delete all jobs that have been &#39;DONE&#39; for at least a given number of days

    hoover_pipeline.pl -url &quot;mysql://ensadmin:${ENSADMIN_PSW}@localhost:3306/lg4_long_mult&quot; -days_ago 3


        # delete all jobs &#39;DONE&#39; before a specific datetime:

    hoover_pipeline.pl -url &quot;mysql://ensadmin:${ENSADMIN_PSW}@localhost:3306/lg4_long_mult&quot; -before_datetime &quot;2013-02-14 15:42:50&quot;</code></pre>

42 43 44 45 46 47 48 49 50 51 52
<h1 id="OPTIONS">OPTIONS</h1>

<pre><code>    -reg_conf &lt;path&gt;          : path to a Registry configuration file
    -reg_type &lt;string&gt;        : type of the registry entry (&#39;hive&#39;, &#39;core&#39;, &#39;compara&#39;, etc - defaults to &#39;hive&#39;)
    -reg_alias &lt;string&gt;       : species/alias name for the Hive DBAdaptor
    -url &lt;url string&gt;         : url defining where hive database is located
    -nosqlvc &lt;0|1&gt;            : skip sql version check if 1
    -before_datetime &lt;string&gt; : delete jobs &#39;DONE&#39; before a specific time
    -days_ago &lt;num&gt;           : delete jobs that have been &#39;DONE&#39; for at least &lt;num&gt; days
    -h | -help                : show this help message</code></pre>

53 54
<h1 id="LICENSE">LICENSE</h1>

55
<pre><code>    Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
56
    Copyright [2016-2020] EMBL-European Bioinformatics Institute
57

Matthieu Muffato's avatar
Matthieu Muffato committed
58
    Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); you may not use this file except in compliance with the License.
59 60 61 62
    You may obtain a copy of the License at

         http://www.apache.org/licenses/LICENSE-2.0

Matthieu Muffato's avatar
Matthieu Muffato committed
63 64
    Unless required by applicable law or agreed to in writing, software distributed under the License
    is distributed on an &quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
65 66 67 68 69 70
    See the License for the specific language governing permissions and limitations under the License.</code></pre>

<h1 id="CONTACT">CONTACT</h1>

<pre><code>    Please subscribe to the Hive mailing list:  http://listserver.ebi.ac.uk/mailman/listinfo/ehive-users  to discuss Hive-related questions or to be notified of our updates</code></pre>

Matthieu Muffato's avatar
Matthieu Muffato committed
71 72 73 74

</body>

</html>
75 76