Date: Sun, 10 May 1998 21:42:02 -0500 (CDT) From: kf7nn@kf7nn.com To: Doug White <dwhite@resnet.uoregon.edu>, questions@FreeBSD.ORG Subject: Re: cqcam script Message-ID: <XFMail.980510215102.kf7nn@kf7nn.com> In-Reply-To: <Pine.BSF.3.96.980510122241.4464T-100000@gdi.uoregon.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
i never done this before so i may ask a few questions. what does locking a file mean? should i use "flock" to lock the file? should i use perl or a shell script? I did write a small script that started out with something like !#/usr/bin/perl if blah /usr/local/program /usr/local/anotherprogram /usr/bin/program3 fi that is my whole extent to programming although if it was 68xx assembly then I could do wonders...I love talking directly to hardware. On 10-May-98 Doug White wrote: >On Sun, 10 May 1998 kf7nn@kf7nn.com wrote: > >> I use cqcam to take a picture from my connectix >> quickcam every minute via cron job but i would >> like to make a script that does it via a web page. >> >> what would be the easiest way to do this? > >Make your script a cgi-bin. You will want to use a lockfile so you don't >have five or six of these trying to take pictures at once, which could >have some .. interesting .. results. > >Also watch for DoS attacks by repeatedly hitting the button -- grabbing >from qcams taxes the system pretty hard (at last check and using the >kernel qcam driver). > >Doug White | University of Oregon >Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant >http://gladstone.uoregon.edu/~dwhite | Computer Science Major > > ---------------------------------- E-Mail: kf7nn@kf7nn.com Date: 10-May-98 Time: 21:42:09 This message was sent by XFMail ---------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.980510215102.kf7nn>