From 57db318604539bd2562f1285028d99070d757077 Mon Sep 17 00:00:00 2001 From: Leonard Excoffier <48970393+excoffierleonard@users.noreply.github.com> Date: Sat, 7 Sep 2024 17:36:40 -0400 Subject: [PATCH] doc: added some comment --- .gitignore | 2 +- DOCKERFILE | 2 ++ cron.conf | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index c2111fc..8661818 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ .env -.vscode \ No newline at end of file +.vscode diff --git a/DOCKERFILE b/DOCKERFILE index 7de6c73..caa6907 100644 --- a/DOCKERFILE +++ b/DOCKERFILE @@ -20,8 +20,10 @@ RUN apt update && \ vim \ cron +# Copy files COPY isalive.sh . COPY cron.conf . COPY start.sh . +# Start script CMD ["./start.sh"] diff --git a/cron.conf b/cron.conf index 7b783a2..ba26390 100644 --- a/cron.conf +++ b/cron.conf @@ -1 +1,2 @@ +# Run the script every 5 minutes */5 * * * * bash /downdetector/isalivescript.sh