Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
g4lbne
BeamSimStudies
GeneticOptimization
releaseStuff.py
Go to the documentation of this file.
1
import
os, time
2
3
start_time = time.time()
4
5
f =
open
(
"heldJobs.txt"
)
6
lines = f.readlines()
7
f.close()
8
9
for
line
in
reversed(lines):
10
blah = line.split()[0]
11
os.system(
"jobsub_release -G lbne --jobid="
+blah);
12
# Don't let job go on for more than a day -- kerberos ticket dies
13
#current_time = time.time()
14
#if current_time - start_time > 60*60*23:
15
# sys.exit()
16
open
int open(const char *, int)
Opens a file descriptor.
Generated by
1.8.11