From 3f5a0aae858fff9213f55b56790c7ddf49cce489 Mon Sep 17 00:00:00 2001 From: Matt Romano <42412983+mattromano@users.noreply.github.com> Date: Tue, 19 Nov 2024 16:24:53 -0800 Subject: [PATCH] gha mod (#226) --- .github/workflows/dbt_run_operation_reorg.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/dbt_run_operation_reorg.yml b/.github/workflows/dbt_run_operation_reorg.yml index d91f422..02c6837 100644 --- a/.github/workflows/dbt_run_operation_reorg.yml +++ b/.github/workflows/dbt_run_operation_reorg.yml @@ -4,8 +4,8 @@ run-name: dbt_run_operation_reorg on: workflow_dispatch: schedule: - # Runs at minute 45 every 8 hours (see https://crontab.guru) - - cron: '45 */8 * * *' + # Runs at minute 45 every Sunday (see https://crontab.guru) + - cron: '45 0 * * 0' env: DBT_PROFILES_DIR: ./ @@ -51,4 +51,4 @@ jobs: - name: Execute block_reorg macro run: | - dbt run-operation fsc_utils.block_reorg --args "{reorg_model_list: '${{ steps.list_models.outputs.model_list }}', hours: '12'}" && awk '/SQL status/ {print; next} /DELETE FROM/{getline; print} /\/\* {/ {print}' logs/dbt.log \ No newline at end of file + dbt run-operation fsc_utils.block_reorg --args "{reorg_model_list: '${{ steps.list_models.outputs.model_list }}', hours: '169'}" && awk '/SQL status/ {print; next} /DELETE FROM/{getline; print} /\/\* {/ {print}' logs/dbt.log \ No newline at end of file