From owner-freebsd-questions Sun May 10 12:24:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA27597 for freebsd-questions-outgoing; Sun, 10 May 1998 12:24:00 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA27591 for ; Sun, 10 May 1998 12:23:53 -0700 (PDT) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.7/8.8.8) with SMTP id MAA02069; Sun, 10 May 1998 12:23:50 -0700 (PDT) (envelope-from dwhite@gdi.uoregon.edu) Date: Sun, 10 May 1998 12:23:50 -0700 (PDT) From: Doug White Reply-To: Doug White To: kf7nn@kf7nn.com cc: questions@FreeBSD.ORG Subject: Re: cqcam script In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message