1%%%
2%%%  Copyright 2011 © INRIA
3%%%
4%%%  Author : Nicolas Niclausse <nniclaus@sophia.inria.fr>
5%%%  Created: 4 mai 2011 by Nicolas Niclausse <nniclaus@sophia.inria.fr>
6%%%
7%%%  This program is free software; you can redistribute it and/or modify
8%%%  it under the terms of the GNU General Public License as published by
9%%%  the Free Software Foundation; either version 2 of the License, or
10%%%  (at your option) any later version.
11%%%
12%%%  This program is distributed in the hope that it will be useful,
13%%%  but WITHOUT ANY WARRANTY; without even the implied warranty of
14%%%  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15%%%  GNU General Public License for more details.
16%%%
17%%%  You should have received a copy of the GNU General Public License
18%%%  along with this program; if not, write to the Free Software
19%%%  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
20%%%
21%%%  In addition, as a special exception, you have the permission to
22%%%  link the code of this program with any library released under
23%%%  the EPL license and distribute linked combinations including
24%%%  the two; the MPL (Mozilla Public License), which EPL (Erlang
25%%%  Public License) is based on, is included in this exception.
26
27
28-author('nicolas.niclausse@inria.fr').
29
30%% use by the client to create the request
31
32-record(job_dyndata,
33        {
34          fixme
35         }
36       ).
37
38-record(job, {
39          script,
40          resources,
41          walltime,
42          queue,
43          duration,
44          jobid,
45          req, % submit|stat|delete
46          type, % oar|torque
47          notify_port,
48          notify_script,
49          name,
50          user,
51          options,
52          args
53              }).
54
55-record(job_session, {
56          jobid,
57          owner,
58          submission_time,
59          queue_time,
60          start_time,
61          end_time,
62          dump,
63          status
64         }).
65
66
67