diff options
author | Paul Duncan <pabs@pablotron.org> | 2020-03-06 20:21:52 -0500 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2020-03-06 20:21:52 -0500 |
commit | 3b2311e0e9f0563d0c75d97b42ecfcecb49ae0a2 (patch) | |
tree | 579e5f863ca6b493e3d4ced3a7b692675015ff9a | |
parent | 12833eed3a08f07b627ede3174546d8e294ec693 (diff) | |
download | alonzo-mood-calculator-3b2311e0e9f0563d0c75d97b42ecfcecb49ae0a2.tar.bz2 alonzo-mood-calculator-3b2311e0e9f0563d0c75d97b42ecfcecb49ae0a2.zip |
add better crontab example
-rw-r--r-- | README.md | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |