Skip to content

Commit

Permalink
Moved to 1 cron time
Browse files Browse the repository at this point in the history
  • Loading branch information
desertblade committed Jun 25, 2023
1 parent 0e1fe98 commit 9b2c0f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 9b2c0f5

Please sign in to comment.