This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
name: Run Report Table
|
name: Run Report Table
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "30 4 * * *"
|
- cron: "41 4 * * *"
|
||||||
jobs:
|
jobs:
|
||||||
run-script:
|
run-script:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
@@ -15,8 +15,8 @@ TS="$(date +%Y%m%d_%H%M%S)"
|
|||||||
LOG_FILE="${LOG_DIR}/report_${ABSOLUTE_RANGE}_${TS}.log"
|
LOG_FILE="${LOG_DIR}/report_${ABSOLUTE_RANGE}_${TS}.log"
|
||||||
|
|
||||||
(cd src && python3 -m report_table \
|
(cd src && python3 -m report_table \
|
||||||
--range "${ABSOLUTE_RANGE}") \
|
--range "${ABSOLUTE_RANGE}") \
|
||||||
>> "${LOG_FILE}" 2>&1 &
|
>> "${LOG_FILE}" 2>&1
|
||||||
|
|
||||||
echo "[OK] Started background job."
|
echo "[OK] Started background job."
|
||||||
echo "[OK] Logging to ${LOG_FILE}"
|
echo "[OK] Logging to ${LOG_FILE}"
|
||||||
Reference in New Issue
Block a user