Commit a51cd0e901f0e0684b2caf4d2b44f54a354fe139
1 parent
cd28a380
Exists in
master
and in
59 other branches
rm ok
Showing
3 changed files
with
11 additions
and
2 deletions
Show diff stats
src/InputOutput/IHMImpl/Params/DownloadImpl/IHMInputOutputParamsDownloadClass.php
... | ... | @@ -56,6 +56,13 @@ class IHMInputOutputParamsDownloadClass extends IHMInputOutputParamsAbstractClas |
56 | 56 | case 'Timestamp' : |
57 | 57 | $downloadNode->setTimeFormat(RequestOutputDownloadTimeFormatEnum::TIMESTAMP); |
58 | 58 | break; |
59 | + case 'Timestamp-with-milliseconds' : | |
60 | + $downloadNode->setTimeFormat(RequestOutputDownloadTimeFormatEnum::MS); | |
61 | + break; | |
62 | + case 'YYYY MM DD hh mm ss' : | |
63 | + $downloadNode->setTimeFormat(RequestOutputDownloadTimeFormatEnum::SPACES); | |
64 | + break; | |
65 | + | |
59 | 66 | default : |
60 | 67 | throw new Exception('Time format not implemented.'); |
61 | 68 | } |
... | ... |
src/Request/ParamsRequestImpl/Nodes/Requests/RequestOutputDownloadNodeClass.php
src/Request/ProcessRequestImpl/Process/ProcessClass.php
... | ... | @@ -215,8 +215,8 @@ class ProcessClass |
215 | 215 | if (!chdir($this->runningPath)) |
216 | 216 | return false; |
217 | 217 | |
218 | - if (!$keep_log && file_exists($this->outputFile)) | |
219 | - unlink($this->outputFile); | |
218 | + //if (!$keep_log && file_exists($this->outputFile)) | |
219 | + // unlink($this->outputFile); | |
220 | 220 | |
221 | 221 | if (file_exists($this->exitCodeFile)) |
222 | 222 | unlink($this->exitCodeFile); |
... | ... |