aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2016-12-22 23:53:20 +0530
committerArun Isaac2016-12-22 23:53:20 +0530
commit75aa52b530f0a509a6134d2f116aab496b6c0f7a (patch)
tree4e586893f85a112c002cc4655a5aa3f78f8a862e
parent0f5f1cb1f60eb24459d762383e03c1a4c6193b5f (diff)
downloadnasa-apod-gnu-social-bot-75aa52b530f0a509a6134d2f116aab496b6c0f7a.tar.gz
nasa-apod-gnu-social-bot-75aa52b530f0a509a6134d2f116aab496b6c0f7a.tar.lz
nasa-apod-gnu-social-bot-75aa52b530f0a509a6134d2f116aab496b6c0f7a.zip
Add example crontab
* README.org: Add example crontab to run bot.
-rw-r--r--README.org8
1 files changed, 7 insertions, 1 deletions
diff --git a/README.org b/README.org
index 44cbd14..afb4411 100644
--- a/README.org
+++ b/README.org
@@ -1,7 +1,13 @@
This script screen scrapes data from the latest [[https://apod.nasa.gov/][NASA Astronomy Picture
of the Day (APOD)]] and posts it to a specified [[https://gnu.io/social/][GNU Social]] account. Run
daily with a cron job, this script can be used as a bot that regularly
-reposts NASA APOD images to GNU Social.
+reposts NASA APOD images to GNU Social. For example, to schedule the
+bot to run every day at 1200 hours, you would use the following
+crontab.
+
+#+BEGIN_EXAMPLE
+0 12 * * * /path/to/apod-bot.sh
+#+END_EXAMPLE
* License