coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: mkp on May 05, 2008, 09:43:45 PM

Title: Have mass import run at time intervals
Post by: mkp on May 05, 2008, 09:43:45 PM
I have a webcam that takes a snapshot at designated time intervals and then runs a script that creates a file directory structure to put the picture into.  The directory structure is 4 levels (category, subcategory, album and then pictures) I have successfully install the Mass Import plugin and used it.  Now I would like to fully integrate it into the process so that every time the webcam takes a picture mass import is called, checks to see if the directory structure already exists inside coppermine and then imports the picture.  I am not sure how to go about this. Mass import already checks to see if the directory structure exists so I think I just need to call the php function with certain parameters that represent the settings for the import (ie Subdirectory under Albums) and then hits the Begin in essence.

Any ideas?

Thanks
Title: Re: Have mass import run at time intervals
Post by: Joachim Müller on May 06, 2008, 07:42:05 AM
Quote from: donnoman on February 07, 2006, 07:49:22 AM
Please keep the discusions of CPGMassImport on the cpg-contrib forums