Chapter 11 (on deployment recipes) of the Web2py book (2nd edition) contains an errata on page 302.
This page lists the contents of file scripts/sessions2trash.py. Line 11 of the file is listed as unlink(filename) This line should be os.unlink(filename) This is also a bug in the web2py distribution. I tried adding the errata to http://wiki.web2py.com/Errata_for_web2py_2nd_Edition_Book after registering and logging in. The edit page, http://wiki.web2py.com/_edit_page/587, failed to load with both Firefox (too many redirects) and Internet Explorer (unknown error). Here is a hint for using the book listed command nohup python web2py.py -S yourapp -R scripts/sessions2trash.py & in /etc/rc.local, to enable automatic start of this script on boot. Make sure you change to the directory where web2py.py is first. For exmaple if web2py.py is in /home/web2py then use cd /home/web2py first. John Heenan -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.