Difference between revisions of "Jproj.pl Usage Message"

From GlueXWiki
Jump to: navigation, search
(Created page with "<pre> jproj.pl: manages a JLab batch farm project usage: jproj.pl <project> <action> <arg1> <arg2> ... actions: create no args update arg1: file number to use; if om...")
 
 
Line 41: Line 41:
 
     arg1: mss directory
 
     arg1: mss directory
 
     arg2: if present and non-zero, use only run number in file pattern for jcache
 
     arg2: if present and non-zero, use only run number in file pattern for jcache
 +
</pre>
 +
 +
 +
Schema
 +
 +
<pre>
 +
mysql> describe test;
 +
+------------------+--------------+------+-----+-------------------+-----------------------------+
 +
| Field            | Type        | Null | Key | Default          | Extra                      |
 +
+------------------+--------------+------+-----+-------------------+-----------------------------+
 +
| run              | int(11)      | NO  | PRI | 0                |                            |
 +
| file            | mediumint(9) | NO  | PRI | 0                |                            |
 +
| submitted        | tinyint(4)  | NO  |    | 0                |                            |
 +
| output          | tinyint(4)  | NO  |    | 0                |                            |
 +
| jput_submitted  | tinyint(4)  | NO  |    | 0                |                            |
 +
| silo            | tinyint(4)  | NO  |    | 0                |                            |
 +
| jcache_submitted | tinyint(4)  | NO  |    | 0                |                            |
 +
| cache            | tinyint(4)  | NO  |    | 0                |                            |
 +
| mod_time        | timestamp    | NO  |    | CURRENT_TIMESTAMP | on update CURRENT_TIMESTAMP |
 +
+------------------+--------------+------+-----+-------------------+-----------------------------+
 +
9 rows in set (0.01 sec)
 
</pre>
 
</pre>

Latest revision as of 14:14, 16 July 2012

jproj.pl: manages a JLab batch farm project

usage:

jproj.pl <project> <action> <arg1> <arg2> ...

actions:

create
    no args

update
    arg1: file number to use; if omitted all file numbers will be used

update_output
    arg1: output link directory
    arg2: if present and non-zero, use only run number in file pattern search

update_silo
    arg1: mss directory
    arg2: if present and non-zero, use only run number in file pattern search

update_cache
    arg1: cache directory
    arg2: if present and non-zero, use only run number in file pattern search

submit
    arg1: limit on number of submissions

unsubmit
    arg1: run number
    arg2: file number

jput
    arg1: output link directory
    arg2: mss directory
    arg3: if present and non-zero, use only run number in file pattern for jput

jcache
    arg1: mss directory
    arg2: if present and non-zero, use only run number in file pattern for jcache


Schema

mysql> describe test;
+------------------+--------------+------+-----+-------------------+-----------------------------+
| Field            | Type         | Null | Key | Default           | Extra                       |
+------------------+--------------+------+-----+-------------------+-----------------------------+
| run              | int(11)      | NO   | PRI | 0                 |                             | 
| file             | mediumint(9) | NO   | PRI | 0                 |                             | 
| submitted        | tinyint(4)   | NO   |     | 0                 |                             | 
| output           | tinyint(4)   | NO   |     | 0                 |                             | 
| jput_submitted   | tinyint(4)   | NO   |     | 0                 |                             | 
| silo             | tinyint(4)   | NO   |     | 0                 |                             | 
| jcache_submitted | tinyint(4)   | NO   |     | 0                 |                             | 
| cache            | tinyint(4)   | NO   |     | 0                 |                             | 
| mod_time         | timestamp    | NO   |     | CURRENT_TIMESTAMP | on update CURRENT_TIMESTAMP | 
+------------------+--------------+------+-----+-------------------+-----------------------------+
9 rows in set (0.01 sec)