Fix the indexer cron job

tags/0.2.8_el5 0.2.8_el5
Daniel Berteaud 11 years ago
parent 3d301c6009
commit 8693166968
  1. 2
      root/etc/cron.daily/pydio-indexer

@ -22,7 +22,7 @@ foreach (0..32){
}
foreach my $share ($a->get_all_by_prop(type => 'share')){
$pydio = $share->prop('Pydio') || 'disabled';
$indexer = $share->prop('PydioIndexer') || '';
my $indexer = $share->prop('PydioIndexer') || '';
next if ($pydio ne 'enabled' || $indexer eq 'disabled' || ($indexer ne 'enabled' && $defaultIndexer ne 'enabled'));
my $name = $share->key;
# Check if the lock file is present and if it's too old (last index crashed ?)

Loading…
Cancel
Save