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

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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