Commit 4fac4c57 authored by pras's avatar pras

added cron_sample

parent d5f20cca
......@@ -57,7 +57,7 @@ The actual updates to leaderboard will happen only via `background_runner.py` pr
**Scheduling leaderboard updates**
Instead of running the `background_runner.py` manually, the program can be scheduled at regular intervals or specified time using utilities like **crontab**. Look at the cron_sample for an example.
Instead of running the `background_runner.py` manually, the program can be scheduled at regular intervals or specified time using utilities like **crontab**. Look at the `cron_sample` for an example.
Contributors
......
# run background_process.py eveyr two hours once.
* */2 * * * cd absolute-path-to-osm-leaderboard/ && python3.6 absolute-path-to-osm-leaderboard/background_runner.py
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment