diff options
author | Arun Isaac | 2016-12-22 23:53:20 +0530 |
---|---|---|
committer | Arun Isaac | 2016-12-22 23:53:20 +0530 |
commit | 75aa52b530f0a509a6134d2f116aab496b6c0f7a (patch) | |
tree | 4e586893f85a112c002cc4655a5aa3f78f8a862e | |
parent | 0f5f1cb1f60eb24459d762383e03c1a4c6193b5f (diff) | |
download | nasa-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.org | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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 |