Define max_execution_time=3600 instead of using the default (60 sec)

tags/0.2.2_el5
Daniel Berteaud 11 years ago
parent 98a3ecb240
commit 08bede6b5d
  1. 2
      root/etc/cron.daily/pydio-indexer

@ -31,7 +31,7 @@ foreach my $share ($a->get_all_by_prop(type => 'share')){
unlink </var/cache/pydio/indexes/.ajxp_lock-$name>
if (time() - $mtime > 18000);
}
system('/usr/bin/sudo -u www /usr/bin/php /usr/share/pydio/cmd.php ' .
system('/usr/bin/sudo -u www /usr/bin/php -d max_execution_time=3600 /usr/share/pydio/cmd.php ' .
'-u=RDiin175M40T0cYvXLARpAi+1TsSVkbksEDZ4KvwBuY= '.
'-t=e71479ebc4365176d9f09fe957780024 -a=index '.
'-r='.$name.' --secure_token='.$id.' --dir=/ --_method=put >/dev/null 2>&1');

Loading…
Cancel
Save