pre-overdues script
Submitted by cgleeson on Mon, 2006-01-16 15:29.
We've been sending out email notices for the last couple of years and have now been asked to introduce "pre-overdues". I seem to remember discussions on lis-talis where some libraries use modified versions of the perl script SK_loa_school_letter to do this. Would anyone be willing to send me a copy of their script - I would be extremely grateful!
cora.gleeson@ul.ie



Underdues script
A underdues script is now available on TDN
[url]http://www.talis.com/tdn/customers/docs/alto/art_lm170pl01.pdf[/url]
Thanks
Hello! Is the underdue
Hello! Is the underdue script still available to have a look at? The URL doesn't seem to link to it. Thanks, Jude
underdues
That appears to be an old link. The article and download can be seen at this link or found by searching for underdues in the search prompt.
Thanks
Brian Crampton
Developer, Talis
underdues
Thanks Brian. I tried that link to the instructions too and it says "the file cannot be found", Jude
underdues download
The loa_underdue_letter.tar download link on the Talis Alto Letters page is pointing at the right file and it can be saved to disk.
If you are using an old version of the article the link in that document will not work. The download links are now on the same page as the article and the latest version of the article points to the page.
Are you able to download other files from the page?
Brian Crampton
Developer, Talis
I got the files - thanks
I got the files - thanks Brian. Jude
Re:pre-overdues script
Many thanks for this, Brian.
I've been using SK_loa_school_letter for this purpose, and unsuccessfully trying to modify it. Your script has solved my problems (well, I'm assuming it will work!).
Judith
pre-overdues pdf
Hi
This link to the pdf is not working:
http://www.talis.com/tdn/system/files?file=art_lm170pl01_0.pdf
can someone send me the correct link as I would like to set up pre-overdues this week if possible
thanks
Accessing preoverdues pdf
That is the correct link and it is working when I try it.
Are you logged into the TDN when you enter that link? After logging in if you access the document via the menu (Library System Articles | Talis Alto | Talis Alto Letters) does the link work? Do any of the other links work including the script download link? Are any error messages displayed?
If it still doesn't work I will send you the article while I investigate further.
Brian Crampton
Developer, Talis
No page breaks in Underdues output?
Hi.
I've set up the underdues correctly and they work great against my single test borrower. I tried testing with more than one borrower and e-mailed the output file using email_post.pl with its own email_post.pa setup. This resulted in the test borrower and myself receiving an e-mail with all the underdue letters in when we should of only received our own individual letter.
The only thing different with the output file that I can see different from the overdues output file (in vi) is that the overdues have a ^L (line break?) after each letter.
Has anyone else had this problem?
Thanks in advnance
Jamie
UCLan
Underdues Script
It sounds like you are running the script in linefeed mode e.g. the PAGINATION parameter is set to linefeed.
Formfeed will insert the ^L character at the end of each letter. The line feed option will insert blank lines to take each page to the pagelength specified in the PAGELENGTH parameter.
If email_post is run with a PAGELENGTH parameter of 0 then it will use the ^L character to show the end of the letter. If there is no ^L then you have a very long letter.
This is standard functionality in the letter scripts. You should be OK if you set the PAGINATION parameter in the underdues parameter file to formfeed (I think commenting out the line will do the same thing but it is better to be explicit and state formfeed.)
Thanks
Brian Crampton
Developer, Talis
underdues
Hi
We are now using the pre-underdues script but is there any way of setting the script to only report on items due back in the next 24hrs?
The release notice says:
If the script was run at 6 Feb 2006 16:00 and the pre_days parameter is set to 2 then items that are due in the period from 6 Feb 2006 16:00 to 9 Feb 2006 16:00 will be selected.
This selects items due back in the next 3days since the script was run.
If set to 1 then items due back from the period 6 Feb 16:00 to 8 Feb 16:00 will be selected which is 2 days.
Ideally we would only like all items due back in the next 24hrs to be selected.
Underdues
Hello all.
I've reaslied that if you use a 0 in the parameter file for pre_days= then the script will only look 24hrs in front for items due back which is ideal :)
Jamie