It's not the kind of thing you run when you want to run it, it's something you set up a cron job for that runs on a regular basis without you having to do anything. Here's the info on that: http://koha-community.org/documentation/3-2-manual/?ch=a11146#AEN11249 Nicole On Thu, Jul 8, 2010 at 7:16 AM, Joseph Faneuf <joseph@americandreaminc.com> wrote:
I was able to create the overdue notices by adding the appropriate << and >> to the sides of the data element names but how can I get the librarian to run the notices? She won't be able to log into the server and run the script. She will need to run it when she requires it. And then how will she access them afterwards?
Joseph Faneuf Tech Support Specialist Narragansett Regional School District Baldwinville, MA
-----Original Message----- From: Jane Wagner [mailto:jwagner@ptfs.com] Sent: Wednesday, July 07, 2010 10:05 AM To: Joseph Faneuf Subject: RE: [Koha] Reports
If the HTML file is generated but with no content, it usually means there wasn't a matching overdue -- the script will generate empty files if it doesn't find any for the day. Doublecheck your checkouts and triggers, and make sure the patron category is set to receive overdue notices (that's bit me a few times).
Jane Wagner Library Systems Analyst PTFS Inc. Content Management and Library Solutions 6400 Goldsboro Road, Suite 200 Bethesda, MD 20817 (301) 654-8088 x 151 jwagner@ptfs.com
-----Original Message----- From: Joseph Faneuf [mailto:joseph@americandreaminc.com] Sent: Wednesday, July 07, 2010 10:00 AM To: 'Jane Wagner' Subject: RE: [Koha] Reports
There are no email addresses for any of the users.
- Joe
-----Original Message----- From: Jane Wagner [mailto:jwagner@ptfs.com] Sent: Wednesday, July 07, 2010 9:43 AM To: Joseph Faneuf; koha@lists.katipo.co.nz Subject: RE: [Koha] Reports
Did the patron for whom the overdue notice was being triggered have an email address in the patron record? The print notice feature will only pick up and redirect notices for which there is no email address.
Jane Wagner Library Systems Analyst PTFS Inc. Content Management and Library Solutions 6400 Goldsboro Road, Suite 200 Bethesda, MD 20817 (301) 654-8088 x 151 jwagner@ptfs.com
-----Original Message----- From: koha-bounces@lists.katipo.co.nz [mailto:koha-bounces@lists.katipo.co.nz] On Behalf Of Joseph Faneuf Sent: Wednesday, July 07, 2010 9:16 AM To: koha@lists.katipo.co.nz Subject: Re: [Koha] Reports
I appreciate the quick response. I am a bit confused as to how this works. I have gone in and created a notice using the circulation category and added a few fields from the list. I then went into overdue notice/status triggers and chose "that" notice for all patron categories and put 1 as the Delay. I then logged in as root to the koha server and created the directory /tmp/noticedir and then I ran "sudo /usr/share/koha/bin/cronjobs/overdue_notices.pl -n -html /tmp/noticedir. It created the html file but was just full of field names.
Few questions:
Can I do this from the web interface, I wish to make it so that the librarian will be able to just run this notice batch at will? What did I do wrong to make all the field names appear as apposed to the data?
The test notice I created looks like this:
borrowers.firstname, borrowers.surname
branches.branchname biblio.title items.content
any help would be greatly appreciated.
- Joseph Faneuf Tech Support Specialist Narragansett Regional School District Baldwinville, MA
-----Original Message----- From: koha-bounces@lists.katipo.co.nz [mailto:koha-bounces@lists.katipo.co.nz] On Behalf Of Colin Campbell Sent: Wednesday, July 07, 2010 8:19 AM To: koha@lists.katipo.co.nz Subject: Re: [Koha] Reports
On 07/07/10 12:39, Jane Wagner wrote:
Nicole is referring to our print notice function, but it does not print to .pdf -- the notices for people without email addresses are sent into an HTML file in a web-accessible directory. Staff can then open that file in a browser and send it to the printer. The HTML has a page break between each notice.
There's a firefox add-on printpdf which allows you print a web page to a pdf file. I've done some custom work generating orders and claims as web pages and then using it to produce a nice printable output file. Worth trying the plugin if you want to do something from the html output of this (or any other) function. Colin
-- Colin Campbell Chief Software Engineer, PTFS Europe Limited Content Management and Library Solutions +44 (0) 208 366 1295 (phone) +44 (0) 7759 633626 (mobile) colin.campbell@ptfs-europe.com skype: colin_campbell2
http://www.ptfs-europe.com _______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
_______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
_______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha