|
|
@ -31,7 +31,7 @@ if not os.path.exists(os.path.join(JOB_DEFS, data['job'] + '.job')):
|
|
|
|
sys.exit(1)
|
|
|
|
sys.exit(1)
|
|
|
|
|
|
|
|
|
|
|
|
# This is the name of the file that will be written to the queued jobs
|
|
|
|
# This is the name of the file that will be written to the queued jobs
|
|
|
|
file_name = str(time.time_ns()) + '.' + str(job_name) + '.json'
|
|
|
|
file_name = str(int(time.time() * 100000)) + '.' + str(job_name) + '.json'
|
|
|
|
|
|
|
|
|
|
|
|
# Write the job data to the queue file
|
|
|
|
# Write the job data to the queue file
|
|
|
|
with open(os.path.join(QUEUED_JOBS, file_name), 'w') as out_file:
|
|
|
|
with open(os.path.join(QUEUED_JOBS, file_name), 'w') as out_file:
|
|
|
|