From 7dbf576432e8fdca00880d39df2f7c19842b0155 Mon Sep 17 00:00:00 2001 From: Moonbeam69 <162564758+Moonbeam69@users.noreply.github.com> Date: Thu, 11 Apr 2024 10:34:01 +0100 Subject: [PATCH] Create ScheduledTask.yml --- .github/workflows/ScheduledTask.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/ScheduledTask.yml diff --git a/.github/workflows/ScheduledTask.yml b/.github/workflows/ScheduledTask.yml new file mode 100644 index 0000000..4aec0c1 --- /dev/null +++ b/.github/workflows/ScheduledTask.yml @@ -0,0 +1,23 @@ + +# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven + +# This workflow uses actions that are not certified by GitHub. +# They are provided by a third-party and are governed by +# separate terms of service, privacy policy, and support +# documentation. + +name: Scheduled task + +on: + schedule: + - cron: '0/5 * * * *' + +jobs: + echo: + runs-on: [ self-hosted ] + steps: + - name: Echo works + run: + echo "Hello world" +