From 75aa52b530f0a509a6134d2f116aab496b6c0f7a Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Thu, 22 Dec 2016 23:53:20 +0530 Subject: Add example crontab * README.org: Add example crontab to run bot. --- README.org | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3