diff --git a/README.md b/README.md index 055c445..6074f4a 100644 --- a/README.md +++ b/README.md @@ -8,9 +8,15 @@ docker build -t cta-archive . docker run --name cta-archive -d -e API_KEY= -v :/usr/cta-archive/output/ cta-archive ``` +## Configuration + By default, the script runs every 5 minutes to write json file to the above. This can be modified by updating the following line in the Dockerfile: ``` RUN echo ' */5 * * * * /usr/local/bin/python3 /usr/cta-archive/archive.py ' >> /usr/cta-archive/cronjob # Where 5 indicates every 5th minute. -``` \ No newline at end of file +``` + +## Notes + +This script runs as root within the container. It probably shouldn't. \ No newline at end of file