[TriLUG] Server Check-Out / In-Use-Register software

Jon Carnes jonc at nc.rr.com
Fri May 23 16:03:32 EDT 2003


I wrote a very simple version of this *kind* of app that used Text files
as the database and a simple CGI written in C. I don't have the code
anymore, but it was fairly simple to write.

Each resource had a directory, each directory had a daily file, each
line in the file represented an hour - with the first line representing
8am.  The line was broken down into various fields: public/private, real
name, contact email, comments.

This was all real simple stuff. The public/private field was either a
repeat of the "real name" or the text "(reserved)". The daily usage
display was simply a dump of the first field from each line.  If a
resource went by more than one name, then we simply created a link with
that name and pointed it to the existing directory.

If I was to re-write it today, I would dump out the data to an HTML
Table and display it that way.  It would look a lot better and allow for
scrolling. And each table entry could be a link to either the reserve
app (for filling in a reservation), or the further info app (for
displaying the the contact info and comments of the reserver - if the
reservation is not marked private).

Two cron jobs, one in the early morning, and one in the late afternoon,
did clean-up and sent out notices.  The notices were mainly a dump of
the daily table complete with comments to an IT person so they would
know if anything special were needed for the setup or reservation.

If that is all your looking for then it's not hard.  

Good Luck - Jon

On Fri, 2003-05-23 at 15:07, bp wrote:
> We are looking for something *very* simple. I looked at MRBS that Dave 
> recommended but that looked like over kill.   I'm considering writting a 
> java based servlet (maybe applet) using LDAP for persistant storage. 
> 
> Right now another team is checking to see if they have an old app that 
> did this same thing that I might be able to use/modify.  If they don't 
> have it, then I'll consider writting one on my own time outside of work 
> so that it can be GPL'd.  Let me know if you're still interested in 
> writting a ultra-simple version of this kind of app.
> 
> -bp
> 
> Ryan Leathers wrote:
> 
> >I have been working (for my employer) on a project for the past year
> >that does this on a grand scale - including configuring the target
> >system and associated equipment to various predefined requirements just
> >prior to the scheduled use.  This is a technical training application,
> >but it would work equally well as a testing/interoperability
> >application.  Scheduling is of course integral.
> >
> >I'm afraid I can not just hand over the code but I'd be happy to share
> >lessons learned if you decide to tackle something similar... and If you
> >want to write something in Java for GPL release I'd be delighted to
> >contribute my time and experience toward such a project.
> >
> >Ryan
> >
> >On Fri, 2003-05-23 at 09:14, bp wrote:
> >  
> >
> >>Ok, I don't know what to call this stuff but we are looking for a free / 
> >>GPL / GNU / Open source application that we can use in our team to keep 
> >>up with who is using a test machine.  Our team is spread out between CA, 
> >>RTP, Taiwan & India and I need to setup a web app that someone can log 
> >>in to and reserve a given machine for a given number of days.  Anyone 
> >>know what to Google for or if there is something out there like this in 
> >>the Open Source community?  Or should I just start coding now...
> >>
> >>Thanks,  bp
> >>
> >>    
> >>
> 
> 
> _______________________________________________
> TriLUG mailing list
>     http://www.trilug.org/mailman/listinfo/trilug
> TriLUG Organizational FAQ:
>     http://www.trilug.org/faq/TriLUG-faq.html




More information about the TriLUG mailing list