From e69ada4ee63a75ed1aa80c3f5780911fcfc33600 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Tue, 8 Oct 2013 09:45:52 +0200 Subject: [PATCH] Fix sending indexer output to /dev/null --- root/etc/cron.daily/ajaxplorer-indexer | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/etc/cron.daily/ajaxplorer-indexer b/root/etc/cron.daily/ajaxplorer-indexer index 5fa8306..6d40350 100644 --- a/root/etc/cron.daily/ajaxplorer-indexer +++ b/root/etc/cron.daily/ajaxplorer-indexer @@ -33,7 +33,7 @@ foreach my $share ($a->get_all_by_prop(type => 'share')){ system('/usr/bin/sudo -u www /usr/bin/php /usr/share/ajaxplorer/cmd.php ' . '-u=RDiin175M40T0cYvXLARpAi+1TsSVkbksEDZ4KvwBuY= '. '-t=e71479ebc4365176d9f09fe957780024 -a=index '. - '-r='.$name.' --secure_token='.$id.' --dir=/ --_method=put 2>/dev/null 2>&1'); + '-r='.$name.' --secure_token='.$id.' --dir=/ --_method=put >/dev/null 2>&1'); } # We should now restart OOo to release memory if (-d '/var/service/ooo'){