From 3b2311e0e9f0563d0c75d97b42ecfcecb49ae0a2 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Fri, 6 Mar 2020 20:21:52 -0500 Subject: add better crontab example --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index ba8fe8a..12f7082 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,9 @@ Setup instructions (Debian): # set up cron job that calls bin/get-stock.py daily # example: - @daily bin/get-stock.py ORCL > public/current.json + @daily path/to/bin/get-stock.py ORCL > path/to/public/current.json + + # another example (refresh 4 times a day) + 0 */6 * * * path/to/bin/get-stock.py ORCL > path/to/public/current.json # symlink apache or whatever to public/ directory -- cgit v1.2.3