- String ip = job[2];
- String execstatus = "OK";
- String finalstatus = "OK";
- String protein = "";
- long exectime = 0;
- String log = "";
- String maindir = dirprefix + "/" + id + "/";
- String concisefile = dirprefix + "/" + id + "/" + id + ".concise.fasta";
- String archivefile = dirprefix + "/" + id + "/" + id + ".tar.gz";
- String logfile = dirprefix + "/" + id + "/LOG";
- SimpleDateFormat dateformatter = new SimpleDateFormat("yyyy/MM/dd");
- SimpleDateFormat timeformatter = new SimpleDateFormat("yyyy/MM/dd:H:m:s");
- try {
- startdate = dateformatter.parse(startdatestring);
- starttime = timeformatter.parse(job[0]);
- endtime = timeformatter.parse(job[1]);
- exectime = (endtime.getTime() - starttime.getTime()) / 1000;
- } catch (ParseException e) {
- e.printStackTrace();
- }