some fixes
This commit is contained in:
18
tests.md
18
tests.md
@@ -80,4 +80,22 @@ Completion report generated: completion_report_20250220_135033.txt
|
|||||||
Changed edge case were 0 files were transfered or incorectly processed from the log creating a division by 0 error. added check if it is running still to ensure we do not spawn many proccesses.
|
Changed edge case were 0 files were transfered or incorectly processed from the log creating a division by 0 error. added check if it is running still to ensure we do not spawn many proccesses.
|
||||||
It should start via cron at 15 and then be re run every hour untill 7Am where it should detect restricted business hours window and do nothing.
|
It should start via cron at 15 and then be re run every hour untill 7Am where it should detect restricted business hours window and do nothing.
|
||||||
|
|
||||||
|
Failed due to how cron and its enviroment work.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
Feb 20 15:25:02 alma-azure-test CROND[8956]: (test) CMD (/usr/bin/env bash -lc /opt/AZURE/run_azcopy.sh /opt/AZURE/BLOB/ true 20)
|
||||||
|
Feb 20 15:25:02 alma-azure-test CROND[8954]: (test) CMDOUT (Usage: /opt/AZURE/run_azcopy.sh <directory> [log=true|false] [bandwidth_mbps])
|
||||||
|
Feb 20 15:25:02 alma-azure-test CROND[8954]: (test) CMDEND (/usr/bin/env bash -lc /opt/AZURE/run_azcopy.sh /opt/AZURE/BLOB/ true 20)
|
||||||
|
|
||||||
|
#6th test.
|
||||||
|
|
||||||
|
modified the cron job definition to.
|
||||||
|
|
||||||
|
27 * * * * /usr/bin/env bash -lc '/opt/AZURE/run_azcopy.sh /opt/AZURE/BLOB/ true 20'
|
||||||
|
|
||||||
|
Should ensure proper execution in a users envirmont.
|
||||||
|
|
||||||
|
---
|
||||||
|
That worked and its running in the background.
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user