Skip to content

Commit

Permalink
fixed issue with incorrec launch
Browse files Browse the repository at this point in the history
  • Loading branch information
audstanley committed Jan 17, 2018
1 parent 136034e commit cd9122b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rover/core/process-manager/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ class c:
if(os.path.exists(path["path"] + o["path"] + o["script"])) or o["script"] == "motion":
cronLinesFromProcesses.append("{} {}{} {} {} {} {} {}{} {} {}".format(cronLineA, path["path"], o["path"], cronLineB, o["screenName"], cronLineC, o["screenName"], cronLineD , o["python"], o["script"], cronLineE))
# cA p1p2 cB oS cC oS cD oPoX cE
setupCronLine = "0 15 1/2 * * root bash -e 'cd " + path["path"] + "/TitanRover2018/rover/core/process-manager/ && python setup.py;'\n";
setupCronLine = "0 15 1/2 * * root bash -e 'cd " + path["path"] + "/TitanRover2018/rover/core/process-manager/ && python getLatestFiles.py;'\n";
cronLinesFromProcesses.insert(0, setupCronLine)
#print(cronLinesFromProcesses)
if len(lines) > 1 and len(cronLinesFromProcesses) > 1:
Expand Down

0 comments on commit cd9122b

Please sign in to comment.