From 9b2c0f5798f914a919d8e822bacf33c9d7474fd7 Mon Sep 17 00:00:00 2001 From: Ben Williams Date: Sun, 25 Jun 2023 09:39:47 -0700 Subject: [PATCH] Moved to 1 cron time --- Dockerfile | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index f867046..5dc8fb9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -41,7 +41,7 @@ COPY supervisord.conf /etc/ # Adding Script to download from ezShare and setting up th Cron COPY ezShareDownloader.sh /opt/src/scripts/ezShareDownloader.sh RUN chmod 777 /opt/src/scripts/ezShareDownloader.sh -RUN echo '0,30 6,7,8 * * * /opt/src/scripts/ezShareDownloader.sh 2>&1' >> /etc/cron.d/ezShare +RUN echo '30 7 * * * /opt/src/scripts/ezShareDownloader.sh 2>&1' >> /etc/cron.d/ezShare # Give execution rights on the cron job RUN chmod 0644 /etc/cron.d/ezShare diff --git a/README.md b/README.md index 662384f..4f02041 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ A Raspberry Pi Docker image for **[OSCAR](https://www.sleepfiles.com/OSCAR/)** to run inside Docker container and access it remotely using web browser. Includes script to pull data from an ezShare wifi card, so no need to pull the SD Card out of the CPAP machine! -Cron job is set to run every 30 minutes from 6-9 am to pull files from an [ezShare](https://www.aliexpress.us/item/2255800453813062.html) wifi SD card adpater. +Cron job is set to run every day at 7:30am to pull files from an [ezShare](https://www.aliexpress.us/item/2255800453813062.html) wifi SD card adpater. Planning on making configurable. Once everything is set up point your browser to http://192.168.xx.xx:8080