From 60a43657360d0e3d66ae9ed32dddb53f31096303 Mon Sep 17 00:00:00 2001 From: Michael Jenkins Date: Wed, 29 Sep 2021 21:32:36 -0700 Subject: [PATCH] Add OS specific scripts for the long running job --- long-running-job-mac-linux-docker.sh | 5 +++++ long-running-job-windows.bat | 6 ++++++ 2 files changed, 11 insertions(+) create mode 100644 long-running-job-mac-linux-docker.sh create mode 100644 long-running-job-windows.bat diff --git a/long-running-job-mac-linux-docker.sh b/long-running-job-mac-linux-docker.sh new file mode 100644 index 0000000..e1b070e --- /dev/null +++ b/long-running-job-mac-linux-docker.sh @@ -0,0 +1,5 @@ +#!/bin/bash +for i in {1..30}; do + echo $i; + sleep 1; +done diff --git a/long-running-job-windows.bat b/long-running-job-windows.bat new file mode 100644 index 0000000..5b63645 --- /dev/null +++ b/long-running-job-windows.bat @@ -0,0 +1,6 @@ +@echo off +for /L %%i in (1,1,30) do ( + @echo %%i + @ping localhost -n 2 >NUL +) +