Libraryscript
library script v2.1
-------------------
(C) Owen Cliffe occ@cs.bath.ac.uk
This program can be distributed under the terms of the Gnu Public
License version 2.0
I seem to get a lot of library fines because i forget to take books
back
This is a dumb script which attempts to reduce those fines by renewing
books automatically through the sisri library interface at the
uninversity of bath (it is currently specific to bath, but could be
fixed for other sites with similar interfaces fairly easily.
Installation:
You need WWW::Mechanize installed
put the script somewhere
Add the script to you crontab so that it runs every day or something:
5 0 * * * /home/occ/linux/bin/renew_library_books UID PIN occ@cs.bath.ac.uk
The script takes 2 or 3 arguments, the first is your library user ID,
the second is your pin and the third is optional, and is the email
address to send notifications to, if this isn't specified then
notifications of renewals are printed to stdout
source: libraryscript-2.1.tar.gz
Copyright © 2003 Owen
Cliffe