# run staticsync every 10 minutes
*/10 * * * * www-data php5 /usr/share/nginx/html/resourcespace/pages/tools/staticsync.php
#!/bin/sh
cd /usr/share/nginx/html/resourcespace/pages/tools/
php5 staticsync.php
--
ResourceSpace: Open Source Digital Asset Management
http://www.resourcespace.org
---
You received this message because you are subscribed to the Google Groups "ResourceSpace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to resourcespac...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
user@resourcespace:/usr/share/nginx/html/resourcespace/pages/tools$ sudo php5 staticsync.php
Preloading data......done. Looking for changes...Processing Folder: /home/user/DAM
Processing file: /home/user/DAM/DwC-SampleImage_1024x768.jpg
Processing file: /home/user/DAM/2004_300x300.jpg
Processing file: /home/user/DAM/habla_160x160.jpg
Processing file: /home/user/DAM/2010_140x140.jpg
...done.
Looking for deleted files......Complete
$syncdir="/home/user/DAM";
$nogo="[folder1]";
$staticsync_autotheme=false;
$staticsync_folder_structure=false;
$staticsync_extension_mapping_default=1;
$staticsync_extension_mapping[3]=array("mov","3gp","avi","mpg","mp4","flv");
$staticsync_extension_mapping[4]=array("flv");
$staticsync_title_includes_path=false;
$staticsync_ingest=false;
$staticsync_alternatives_suffix="_alternatives";
$staticsync_prefer_embedded_title = true;