diff --git a/.github/workflows/workflow-tester50.yml b/.github/workflows/workflow-tester50.yml new file mode 100644 index 0000000000..1e1782b406 --- /dev/null +++ b/.github/workflows/workflow-tester50.yml @@ -0,0 +1,18 @@ +name: Test 49 #Related to SO https://stackoverflow.com/questions/73213189/cannot-set-a-env-var-when-using-macos-runner + +on: + workflow_dispatch: + +jobs: + job1: + runs-on: macos-latest + steps: + - name: Set variable + run: | + RUNDATEOSX=$(date -j -v-2d +%Y%m%d) + echo "RUNDATEOSX=$RUNDATEOSX" >> $GITHUB_ENV + + - name: Print variable + run: | + echo "RUNDATEOSX:" ${{ env.RUNDATEOSX }} + echo "RUNDATEOSX:" $RUNDATEOSX \ No newline at end of file diff --git a/crontab b/crontab new file mode 100644 index 0000000000..222b2469c6 --- /dev/null +++ b/crontab @@ -0,0 +1,3 @@ +46 1 * * * curl -Ssi -X GET https://www.zup.com.br/ +0 1 1 * * curl -Ssi -X GET https://www.zup.com.br/ +0 0 * * MON-FRI curl -Ssi -X GET https://www.zup.com.br/ \ No newline at end of file