Advanced search  

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

Pages: [1]   Go Down

Author Topic: Have mass import run at time intervals  (Read 2040 times)

0 Members and 1 Guest are viewing this topic.

mkp

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Have mass import run at time intervals
« 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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Have mass import run at time intervals
« Reply #1 on: May 06, 2008, 07:42:05 am »

Please keep the discusions of CPGMassImport on the cpg-contrib forums
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 19 queries.