diff --git a/README.md b/README.md index d76a07f..9800375 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Clone this archive, build and run the image. Pass in your API_KEY and map the ou git clone https://https://gitea.iosull.com/iosullivan/cta-archive cd cta-archive docker build -t cta-archive . -docker run cta-archive -d -e API_KEY= -v /usr/cta-archive/output/ +docker run cta-archive --name cta-archive -d -e API_KEY= -v /usr/cta-archive/output/ ``` -By default, the script runs every 5 minutes to log. This can be modified by updating the cronjob file. \ No newline at end of file +By default, the script runs every 5 minutes to write json file to the above. This can be modified by updating the cronjob file. \ No newline at end of file diff --git a/cronjob b/cronjob index 91376c8..5ca28b8 100644 --- a/cronjob +++ b/cronjob @@ -1 +1 @@ -2 * * * * python3 /usr/cta-archive/archive.py > /proc/1/fd/1 2>/proc/1/fd/2 +5 * * * * python3 /usr/cta-archive/archive.py > /proc/1/fd/1 2>/proc/1/fd/2