blob: afb44112416bf85c109744e541f0a851022d58a2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
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. 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
The source code is in the public domain.
|