Skip to content
This repository has been archived by the owner on Jan 24, 2020. It is now read-only.

Commit

Permalink
verdere opkuis
Browse files Browse the repository at this point in the history
  • Loading branch information
AnitaR authored and AnitaR committed Mar 7, 2014
1 parent 85223ca commit 18d5f09
Show file tree
Hide file tree
Showing 21 changed files with 3,707 additions and 6 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 0 additions & 6 deletions Classes/old/crkc_tools/queriesRapportenAntwerpen.txt

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 5 additions & 0 deletions Root_progs/clear_apc_cache.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?php
apc_clear_cache();
apc_clear_cache('user');
apc_clear_cache('opcode');
?>
4 changes: 4 additions & 0 deletions Root_progs/clear_cache.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?php
// Dit script kan gebruikt worden om bestanden die niet verwijderd kunnen worden te verwijderen.
exec("rm -f app/tmp/ca* > /www/libis/web/collectiveaccess/crkc_media/testclearcache.txt 2> /www/libis/vol03/collectiveaccess/crkc_media/testclearcache_error.txt");
?>
21 changes: 21 additions & 0 deletions Root_progs/curl.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?php

$url = "http://libis-t-rosetta-1.libis.kuleuven.be:8983/solr";
$process = curl_init($url);
$fp = fopen("/www/libis/web/collectiveaccess/crkc_media/example_homepage.txt", "w");
curl_setopt($process, CURLOPT_FILE, $fp);
curl_setopt($process, CURLOPT_PROXY, 'icts-http-gw.cc.kuleuven.be:8080');
/* curl_setopt($process, CURLOPT_HEADER, 0);
curl_setopt($process,CURLOPT_ENCODING , $this->compression);
curl_setopt($process, CURLOPT_TIMEOUT, 30);
if ($this->proxy) curl_setopt($process, CURLOPT_PROXY, $this->proxy);
if ($this->proxy) curl_setopt($process,CURLOPT_PROXYPORT, 8080);
// if ($this->proxy) curl_setopt($process, CURLOPT_HTTPPROXYTUNNEL, 1);
curl_setopt($process, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($process, CURLOPT_FOLLOWLOCATION, 0); */
$return = curl_exec($process);
echo "return: " . $return;
curl_close($process);
fclose($fp);

?>
1,823 changes: 1,823 additions & 0 deletions Root_progs/error.txt

Large diffs are not rendered by default.

1,823 changes: 1,823 additions & 0 deletions Root_progs/error_1.txt

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions Root_progs/importeer.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?php
exec("php controle_thesaurus_csv.php > /www/libis/web/collectiveaccess/crkc_media/controle_thesaurus_csv.log 2> /www/libis/vol03/collectiveaccess/crkc_media/error.txt ");
?>
6 changes: 6 additions & 0 deletions Root_progs/reindex.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash
cd support/utils
nohup php reindex.php 'www.religieuserfgoed.be' > /www/libis/vol03/collectiveaccess/crkc_media/reindex_solr_ca.log 2> /www/libis/vol03/collectiveaccess/crkc_media/reindex_solr_error.txt < /dev/null &
cd -


5 changes: 5 additions & 0 deletions Root_progs/reindex_sh.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?php
//exec("php support/utils/createSolrConfiguration.php > /www/libis/web/collectiveaccess/crkc_media/config_log.log 2> /www/libis/vol03/collectiveaccess/crkc_media/config_log_error.txt");
exec("nohup sh reindex.sh > /www/libis/web/collectiveaccess/crkc_media/process.out 2> /www/libis/vol03/collectiveaccess/crkc_media/process.err < /dev/null &");

?>
5 changes: 5 additions & 0 deletions Root_progs/reindex_solr.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?php
//exec("php support/utils/createSolrConfiguration.php > /www/libis/web/collectiveaccess/crkc_media/config_log.log 2> /www/libis/vol03/collectiveaccess/crkc_media/config_log_error.txt");
exec("php support/utils/reindex.php 'www.religieuserfgoed.be' > /www/libis/web/collectiveaccess/crkc_media/reindex_solr_ca.log 2> /www/libis/vol03/collectiveaccess/crkc_media/reindex_solr_error.txt");

?>
3 changes: 3 additions & 0 deletions Root_progs/reindex_table.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?php
exec("php support/utils/reindex.php 'http://crkc.be.halotest.cc.kuleuven.be/ca_crkc' 'ca_objects' > /www/libis/web/collectiveaccess/crkc_media/reindex.log 2> /www/libis/vol03/collectiveaccess/crkc_media/reindex_error.txt ");
?>
5 changes: 5 additions & 0 deletions Root_progs/reloadSort.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?php
//exec("php support/utils/createSolrConfiguration.php > /www/libis/web/collectiveaccess/crkc_media/config_log.log 2> /www/libis/vol03/collectiveaccess/crkc_media/config_log_error.txt");
exec("nohup sh reloadSort.sh > /www/libis/web/collectiveaccess/crkc_media/process_reload.out 2> /www/libis/vol03/collectiveaccess/crkc_media/process_reload.err < /dev/null &");

?>
4 changes: 4 additions & 0 deletions Root_progs/reloadSort.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash
cd support/utils/other
php reloadSortValues.php 'www.religieuserfgoed.be'
cd -

0 comments on commit 18d5f09

Please sign in to comment.