diff --git a/src/miniq.py b/src/miniq.py index 8edfd2c..655e7af 100755 --- a/src/miniq.py +++ b/src/miniq.py @@ -31,7 +31,7 @@ if not os.path.exists(os.path.join(JOB_DEFS, data['job'] + '.job')): sys.exit(1) # 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 with open(os.path.join(QUEUED_JOBS, file_name), 'w') as out_file: