Have mass import run at time intervals Have mass import run at time intervals
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Have mass import run at time intervals

Started by mkp, May 05, 2008, 09:43:45 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mkp

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

Joachim Müller