From 8e01a1664df00ccb77e2e3470f2e5608b6fb922f Mon Sep 17 00:00:00 2001 From: Laurent Giovannoni <laurent.giovannoni@maarch.org> Date: Thu, 18 Jan 2018 11:21:11 +0100 Subject: [PATCH] #10 prepare xml and shell scripts --- .../convert/batch/config/config.xml.default | 27 ++++++---- ...rt.xml => config_only_convert.xml.default} | 44 +++------------- ...es.xml => config_only_indexes.xml.default} | 42 +++------------ .../config/config_reprise_oem.xml.default | 51 ------------------- .../config/parallel/config_0.xml.default | 27 ++++++---- .../config/parallel/config_1.xml.default | 27 ++++++---- .../config/parallel/config_2.xml.default | 27 ++++++---- .../config/parallel/config_3.xml.default | 27 ++++++---- .../config/parallel/config_4.xml.default | 27 ++++++---- ....sh => launch_convert_all_coll.sh.default} | 4 +- .../scripts/launch_convert_attachments.sh | 6 --- .../launch_convert_attachments.sh.default | 4 +- .../batch/scripts/launch_convert_letterbox.sh | 9 ---- .../launch_convert_letterbox.sh.default | 4 +- .../scripts/launch_convert_reprise.sh.default | 9 ---- ...sh => launch_fulltext_all_coll.sh.default} | 4 +- ...=> launch_fulltext_attachments.sh.default} | 4 +- ...h => launch_fulltext_letterbox.sh.default} | 4 +- modules/convert/batch/scripts/lgi.sh | 13 ----- .../launch_convert_letterbox_0.sh.default | 4 +- .../launch_convert_letterbox_1.sh.default | 4 +- .../launch_convert_letterbox_2.sh.default | 4 +- .../launch_convert_letterbox_3.sh.default | 4 +- .../launch_convert_letterbox_4.sh.default | 4 +- .../batch/scripts/parallel/param_cron.txt | 10 ++-- 25 files changed, 150 insertions(+), 240 deletions(-) rename modules/convert/batch/config/{config_only_convert.xml => config_only_convert.xml.default} (61%) rename modules/convert/batch/config/{config_only_indexes.xml => config_only_indexes.xml.default} (61%) delete mode 100644 modules/convert/batch/config/config_reprise_oem.xml.default rename modules/convert/batch/scripts/{launch_convert_all_coll.sh => launch_convert_all_coll.sh.default} (82%) delete mode 100644 modules/convert/batch/scripts/launch_convert_attachments.sh delete mode 100644 modules/convert/batch/scripts/launch_convert_letterbox.sh delete mode 100644 modules/convert/batch/scripts/launch_convert_reprise.sh.default rename modules/convert/batch/scripts/{launch_fulltext_all_coll.sh => launch_fulltext_all_coll.sh.default} (85%) rename modules/convert/batch/scripts/{launch_fulltext_attachments.sh => launch_fulltext_attachments.sh.default} (63%) rename modules/convert/batch/scripts/{launch_fulltext_letterbox.sh => launch_fulltext_letterbox.sh.default} (62%) delete mode 100644 modules/convert/batch/scripts/lgi.sh diff --git a/modules/convert/batch/config/config.xml.default b/modules/convert/batch/config/config.xml.default index fd5098bec5f..7094b227dff 100644 --- a/modules/convert/batch/config/config.xml.default +++ b/modules/convert/batch/config/config.xml.default @@ -2,14 +2,14 @@ <ROOT> <CONFIG> <Lang>fr</Lang> <!-- fr, en--> - <MaarchDirectory>/var/www/html/maarch_oem/</MaarchDirectory> - <TmpDirectory>/var/www/html/maarch_oem/modules/convert/batch/tmp/</TmpDirectory> + <MaarchDirectory>/var/www/html/MaarchCourrier/</MaarchDirectory> + <TmpDirectory>/var/www/html/MaarchCourrier/modules/convert/batch/tmp/</TmpDirectory> <LogLevel>INFO</LogLevel> <!-- DEBUG, INFO, NOTICE, WARNING, ERROR--> <DisplayedLogLevel>INFO</DisplayedLogLevel> <!-- DEBUG, INFO, NOTICE, WARNING, ERROR--> - <StackSizeLimit>100</StackSizeLimit> - <ApacheUserAndGroup>www-data:www-data</ApacheUserAndGroup> - <UnoconvPath>C:\xampp\htdocs\unoconv\</UnoconvPath> <!-- only for Windows --> - <OpenOfficePath>C:\Program Files\OpenOffice.org 4\program\</OpenOfficePath> <!-- only for Windows --> + <StackSizeLimit>50</StackSizeLimit> + <ApacheUserAndGroup>lgi:lgi</ApacheUserAndGroup> + <UnoconvPath>unoconv</UnoconvPath> <!-- only for Windows --> + <OpenOfficePath>soffice</OpenOfficePath> <!-- only for Windows --> <UnoconvOptions>--port 8100</UnoconvOptions> <RegExResId>false</RegExResId> <StartDateRecovery>false</StartDateRecovery> <!-- false or date dd/mm/yyyy --> @@ -31,7 +31,7 @@ <databaseserver>127.0.0.1</databaseserver> <databaseserverport>5432</databaseserverport> <databasetype>POSTGRESQL</databasetype> - <databasename>maarch_oem</databasename> + <databasename>MaarchCourrier</databasename> <databaseuser>maarch</databaseuser> <databasepassword>maarch</databasepassword> </CONFIG_BASE> @@ -40,17 +40,26 @@ <Table>res_letterbox</Table> <View>res_view_letterbox</View> <Adr>adr_letterbox</Adr> + <path_to_lucene_index>/opt/maarch/docservers/indexes/letterbox_coll/</path_to_lucene_index> </COLLECTION> <COLLECTION> <Id>attachments_coll</Id> <Table>res_attachments</Table> <View>res_view_attachments</View> <Adr>adr_attachments</Adr> + <path_to_lucene_index>/opt/maarch/docservers/indexes/attachments_coll/</path_to_lucene_index> + </COLLECTION> + <COLLECTION> + <Id>version_attachments_coll</Id> + <Table>res_version_attachments</Table> + <View>res_version_attachments</View> + <Adr>adr_attachments_version</Adr> + <path_to_lucene_index>/opt/maarch/docservers/indexes/version_attachments_coll/</path_to_lucene_index> </COLLECTION> <LOG4PHP> <enabled>true</enabled> <Log4PhpLogger>loggerTechnique</Log4PhpLogger> <Log4PhpBusinessCode>Convert</Log4PhpBusinessCode> - <Log4PhpConfigPath>/var/www/html/maarch_oem/apps/maarch_entreprise/xml/log4php.xml</Log4PhpConfigPath> + <Log4PhpConfigPath>/var/www/html/MaarchCourrier/apps/maarch_entreprise/xml/log4php.xml</Log4PhpConfigPath> </LOG4PHP> -</ROOT> +</ROOT> \ No newline at end of file diff --git a/modules/convert/batch/config/config_only_convert.xml b/modules/convert/batch/config/config_only_convert.xml.default similarity index 61% rename from modules/convert/batch/config/config_only_convert.xml rename to modules/convert/batch/config/config_only_convert.xml.default index 0025d92aa56..55549d7aa49 100644 --- a/modules/convert/batch/config/config_only_convert.xml +++ b/modules/convert/batch/config/config_only_convert.xml.default @@ -2,8 +2,8 @@ <ROOT> <CONFIG> <Lang>fr</Lang> <!-- fr, en--> - <MaarchDirectory>/var/www/html/oem_V2/</MaarchDirectory> - <TmpDirectory>/var/www/html/oem_V2/modules/convert/batch/tmp/</TmpDirectory> + <MaarchDirectory>/var/www/html/MaarchCourrier/</MaarchDirectory> + <TmpDirectory>/var/www/html/MaarchCourrier/modules/convert/batch/tmp/</TmpDirectory> <LogLevel>INFO</LogLevel> <!-- DEBUG, INFO, NOTICE, WARNING, ERROR--> <DisplayedLogLevel>INFO</DisplayedLogLevel> <!-- DEBUG, INFO, NOTICE, WARNING, ERROR--> <StackSizeLimit>1000</StackSizeLimit> @@ -33,7 +33,7 @@ <databaseserver>127.0.0.1</databaseserver> <databaseserverport>5432</databaseserverport> <databasetype>POSTGRESQL</databasetype> - <databasename>sipol_v2</databasename> + <databasename>MaarchCourrier</databasename> <databaseuser>maarch</databaseuser> <databasepassword>maarch</databasepassword> </CONFIG_BASE> @@ -47,49 +47,21 @@ <COLLECTION> <Id>attachments_coll</Id> <Table>res_attachments</Table> - <View>res_attachments</View> + <View>res_view_attachments</View> <Adr>adr_attachments</Adr> <path_to_lucene_index>/opt/maarch/docservers/indexes/attachments_coll/</path_to_lucene_index> </COLLECTION> <COLLECTION> - <Id>attachments_version_coll</Id> + <Id>version_attachments_coll</Id> <Table>res_version_attachments</Table> <View>res_version_attachments</View> <Adr>adr_attachments_version</Adr> - <path_to_lucene_index>/opt/maarch/docservers/indexes/attachments_version_coll/</path_to_lucene_index> - </COLLECTION> - <COLLECTION> - <Id>calendar_coll</Id> - <Table>calendar_event_attachments</Table> - <View>calendar_event_attachments</View> - <Adr>calendar_event_adr_attachments</Adr> - <path_to_lucene_index>/opt/maarch/docservers/indexes/calendar_coll/</path_to_lucene_index> - </COLLECTION> - <COLLECTION> - <Id>folder_coll</Id> - <Table>res_folder</Table> - <View>res_folder</View> - <Adr>adr_folder</Adr> - <path_to_lucene_index>/opt/maarch/docservers/indexes/folder_coll/</path_to_lucene_index> - </COLLECTION> - <COLLECTION> - <Id>chrono_coll</Id> - <Table>res_chrono</Table> - <View>res_chrono</View> - <Adr>adr_chrono</Adr> - <path_to_lucene_index>/opt/maarch/docservers/indexes/chrono_coll/</path_to_lucene_index> - </COLLECTION> - <COLLECTION> - <Id>reprise_coll</Id> - <Table>res_reprise</Table> - <View>res_reprise</View> - <Adr>adr_reprise</Adr> - <path_to_lucene_index>/opt/maarch/docservers/indexes/reprise_coll/</path_to_lucene_index> + <path_to_lucene_index>/opt/maarch/docservers/indexes/version_attachments_coll/</path_to_lucene_index> </COLLECTION> <LOG4PHP> <enabled>true</enabled> <Log4PhpLogger>loggerTechnique</Log4PhpLogger> <Log4PhpBusinessCode>Convert</Log4PhpBusinessCode> - <Log4PhpConfigPath>/var/www/html/oem_V2/apps/maarch_entreprise/xml/log4php.xml</Log4PhpConfigPath> + <Log4PhpConfigPath>/var/www/html/MaarchCourrier/apps/maarch_entreprise/xml/log4php.xml</Log4PhpConfigPath> </LOG4PHP> -</ROOT> +</ROOT> \ No newline at end of file diff --git a/modules/convert/batch/config/config_only_indexes.xml b/modules/convert/batch/config/config_only_indexes.xml.default similarity index 61% rename from modules/convert/batch/config/config_only_indexes.xml rename to modules/convert/batch/config/config_only_indexes.xml.default index edf18cd3b20..71c692441f1 100644 --- a/modules/convert/batch/config/config_only_indexes.xml +++ b/modules/convert/batch/config/config_only_indexes.xml.default @@ -2,8 +2,8 @@ <ROOT> <CONFIG> <Lang>fr</Lang> <!-- fr, en--> - <MaarchDirectory>/var/www/html/oem_V2/</MaarchDirectory> - <TmpDirectory>/var/www/html/oem_V2/modules/convert/batch/tmp/</TmpDirectory> + <MaarchDirectory>/var/www/html/MaarchCourrier/</MaarchDirectory> + <TmpDirectory>/var/www/html/MaarchCourrier/modules/convert/batch/tmp/</TmpDirectory> <LogLevel>INFO</LogLevel> <!-- DEBUG, INFO, NOTICE, WARNING, ERROR--> <DisplayedLogLevel>INFO</DisplayedLogLevel> <!-- DEBUG, INFO, NOTICE, WARNING, ERROR--> <StackSizeLimit>1000</StackSizeLimit> @@ -33,7 +33,7 @@ <databaseserver>127.0.0.1</databaseserver> <databaseserverport>5432</databaseserverport> <databasetype>POSTGRESQL</databasetype> - <databasename>sipol_v2</databasename> + <databasename>MaarchCourrier</databasename> <databaseuser>maarch</databaseuser> <databasepassword>maarch</databasepassword> </CONFIG_BASE> @@ -47,49 +47,21 @@ <COLLECTION> <Id>attachments_coll</Id> <Table>res_attachments</Table> - <View>res_attachments</View> + <View>res_view_attachments</View> <Adr>adr_attachments</Adr> <path_to_lucene_index>/opt/maarch/docservers/indexes/attachments_coll/</path_to_lucene_index> </COLLECTION> <COLLECTION> - <Id>attachments_version_coll</Id> + <Id>version_attachments_coll</Id> <Table>res_version_attachments</Table> <View>res_version_attachments</View> <Adr>adr_attachments_version</Adr> - <path_to_lucene_index>/opt/maarch/docservers/indexes/attachments_version_coll/</path_to_lucene_index> - </COLLECTION> - <COLLECTION> - <Id>calendar_coll</Id> - <Table>calendar_event_attachments</Table> - <View>calendar_event_attachments</View> - <Adr>calendar_event_adr_attachments</Adr> - <path_to_lucene_index>/opt/maarch/docservers/indexes/calendar_coll/</path_to_lucene_index> - </COLLECTION> - <COLLECTION> - <Id>folder_coll</Id> - <Table>res_folder</Table> - <View>res_folder</View> - <Adr>adr_folder</Adr> - <path_to_lucene_index>/opt/maarch/docservers/indexes/folder_coll/</path_to_lucene_index> - </COLLECTION> - <COLLECTION> - <Id>chrono_coll</Id> - <Table>res_chrono</Table> - <View>res_chrono</View> - <Adr>adr_chrono</Adr> - <path_to_lucene_index>/opt/maarch/docservers/indexes/chrono_coll/</path_to_lucene_index> - </COLLECTION> - <COLLECTION> - <Id>reprise_coll</Id> - <Table>res_reprise</Table> - <View>res_reprise</View> - <Adr>adr_reprise</Adr> - <path_to_lucene_index>/opt/maarch/docservers/indexes/reprise_coll/</path_to_lucene_index> + <path_to_lucene_index>/opt/maarch/docservers/indexes/version_attachments_coll/</path_to_lucene_index> </COLLECTION> <LOG4PHP> <enabled>true</enabled> <Log4PhpLogger>loggerTechnique</Log4PhpLogger> <Log4PhpBusinessCode>Convert</Log4PhpBusinessCode> - <Log4PhpConfigPath>/var/www/html/oem_V2/apps/maarch_entreprise/xml/log4php.xml</Log4PhpConfigPath> + <Log4PhpConfigPath>/var/www/html/MaarchCourrier/apps/maarch_entreprise/xml/log4php.xml</Log4PhpConfigPath> </LOG4PHP> </ROOT> diff --git a/modules/convert/batch/config/config_reprise_oem.xml.default b/modules/convert/batch/config/config_reprise_oem.xml.default deleted file mode 100644 index afc01e3555a..00000000000 --- a/modules/convert/batch/config/config_reprise_oem.xml.default +++ /dev/null @@ -1,51 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<ROOT> - <CONFIG> - <Lang>fr</Lang> <!-- fr, en--> - <MaarchDirectory>/var/www/html/maarch_oem/</MaarchDirectory> - <TmpDirectory>/var/www/html/maarch_oem/modules/convert/batch/tmp/</TmpDirectory> - <LogLevel>INFO</LogLevel> <!-- DEBUG, INFO, NOTICE, WARNING, ERROR--> - <DisplayedLogLevel>INFO</DisplayedLogLevel> <!-- DEBUG, INFO, NOTICE, WARNING, ERROR--> - <StackSizeLimit>50</StackSizeLimit> - <ApacheUserAndGroup>maarch:maarch</ApacheUserAndGroup> - <UnoconvPath>unoconv</UnoconvPath> <!-- only for Windows --> - <OpenOfficePath>soffice</OpenOfficePath> <!-- only for Windows --> - <UnoconvOptions>--port 8100</UnoconvOptions> - <RegExResId>false</RegExResId> - <StartDateRecovery>false</StartDateRecovery> <!-- false or date dd/mm/yyyy --> - <CurrentMonthOnly>false</CurrentMonthOnly> <!-- true or false --> - </CONFIG> - <CONVERT> - <OutputFormat>pdf</OutputFormat> - <InputFormat>odt,ott,odm,html,oth,ods,ots,odg,otg,odp,otp,odf,doc,docx,xls,xlsx,ppt,pptx,tiff,tif,png,jpeg,jpg,gif</InputFormat> - </CONVERT> - <CONVERT> - <OutputFormat>html</OutputFormat> - <InputFormat>odt,ods,doc,docx,xls,xlsx,ppt,pptx</InputFormat> - </CONVERT> - <CONVERT> - <OutputFormat>png</OutputFormat> - <InputFormat>odt,ods,doc,docx,xls,xlsx,ppt,pptx</InputFormat> - </CONVERT> - <CONFIG_BASE> - <databaseserver>127.0.0.1</databaseserver> - <databaseserverport>5432</databaseserverport> - <databasetype>POSTGRESQL</databasetype> - <databasename>maarch_dev</databasename> - <databaseuser>maarch</databaseuser> - <databasepassword>maarch</databasepassword> - </CONFIG_BASE> - <COLLECTION> - <Id>reprise_coll</Id> - <Table>res_reprise</Table> - <View>res_reprise</View> - <Adr>adr_reprise</Adr> - <path_to_lucene_index>/opt/maarch/docservers/indexes/reprise_coll/</path_to_lucene_index> - </COLLECTION> - <LOG4PHP> - <enabled>false</enabled> - <Log4PhpLogger>loggerTechnique</Log4PhpLogger> - <Log4PhpBusinessCode>Convert</Log4PhpBusinessCode> - <Log4PhpConfigPath>/var/www/html/maarch_oem/apps/maarch_entreprise/xml/log4php.xml</Log4PhpConfigPath> - </LOG4PHP> -</ROOT> diff --git a/modules/convert/batch/config/parallel/config_0.xml.default b/modules/convert/batch/config/parallel/config_0.xml.default index ee8a91e98a8..28a7ec2312c 100644 --- a/modules/convert/batch/config/parallel/config_0.xml.default +++ b/modules/convert/batch/config/parallel/config_0.xml.default @@ -2,14 +2,14 @@ <ROOT> <CONFIG> <Lang>fr</Lang> <!-- fr, en--> - <MaarchDirectory>/var/www/html/maarch_oem/</MaarchDirectory> - <TmpDirectory>/var/www/html/maarch_oem/modules/convert/batch/tmp/</TmpDirectory> + <MaarchDirectory>/var/www/html/MaarchCourrier/</MaarchDirectory> + <TmpDirectory>/var/www/html/MaarchCourrier/modules/convert/batch/tmp/</TmpDirectory> <LogLevel>INFO</LogLevel> <!-- DEBUG, INFO, NOTICE, WARNING, ERROR--> <DisplayedLogLevel>INFO</DisplayedLogLevel> <!-- DEBUG, INFO, NOTICE, WARNING, ERROR--> - <StackSizeLimit>100</StackSizeLimit> - <ApacheUserAndGroup>www-data:www-data</ApacheUserAndGroup> - <UnoconvPath>C:\xampp\htdocs\unoconv\</UnoconvPath> <!-- only for Windows --> - <OpenOfficePath>C:\Program Files\OpenOffice.org 4\program\</OpenOfficePath> <!-- only for Windows --> + <StackSizeLimit>50</StackSizeLimit> + <ApacheUserAndGroup>lgi:lgi</ApacheUserAndGroup> + <UnoconvPath>unoconv</UnoconvPath> <!-- only for Windows --> + <OpenOfficePath>soffice</OpenOfficePath> <!-- only for Windows --> <UnoconvOptions>--port 8100</UnoconvOptions> <RegExResId>(0|1)$</RegExResId> <StartDateRecovery>false</StartDateRecovery> <!-- false or date dd/mm/yyyy --> @@ -31,7 +31,7 @@ <databaseserver>127.0.0.1</databaseserver> <databaseserverport>5432</databaseserverport> <databasetype>POSTGRESQL</databasetype> - <databasename>maarch_oem</databasename> + <databasename>MaarchCourrier</databasename> <databaseuser>maarch</databaseuser> <databasepassword>maarch</databasepassword> </CONFIG_BASE> @@ -40,17 +40,26 @@ <Table>res_letterbox</Table> <View>res_view_letterbox</View> <Adr>adr_letterbox</Adr> + <path_to_lucene_index>/opt/maarch/docservers/indexes/letterbox_coll/</path_to_lucene_index> </COLLECTION> <COLLECTION> <Id>attachments_coll</Id> <Table>res_attachments</Table> <View>res_view_attachments</View> <Adr>adr_attachments</Adr> + <path_to_lucene_index>/opt/maarch/docservers/indexes/attachments_coll/</path_to_lucene_index> + </COLLECTION> + <COLLECTION> + <Id>version_attachments_coll</Id> + <Table>res_version_attachments</Table> + <View>res_version_attachments</View> + <Adr>adr_attachments_version</Adr> + <path_to_lucene_index>/opt/maarch/docservers/indexes/version_attachments_coll/</path_to_lucene_index> </COLLECTION> <LOG4PHP> <enabled>true</enabled> <Log4PhpLogger>loggerTechnique</Log4PhpLogger> <Log4PhpBusinessCode>Convert</Log4PhpBusinessCode> - <Log4PhpConfigPath>/var/www/html/maarch_oem/apps/maarch_entreprise/xml/log4php.xml</Log4PhpConfigPath> + <Log4PhpConfigPath>/var/www/html/MaarchCourrier/apps/maarch_entreprise/xml/log4php.xml</Log4PhpConfigPath> </LOG4PHP> -</ROOT> +</ROOT> \ No newline at end of file diff --git a/modules/convert/batch/config/parallel/config_1.xml.default b/modules/convert/batch/config/parallel/config_1.xml.default index 6c554dced90..123ed3ac145 100644 --- a/modules/convert/batch/config/parallel/config_1.xml.default +++ b/modules/convert/batch/config/parallel/config_1.xml.default @@ -2,14 +2,14 @@ <ROOT> <CONFIG> <Lang>fr</Lang> <!-- fr, en--> - <MaarchDirectory>/var/www/html/maarch_oem/</MaarchDirectory> - <TmpDirectory>/var/www/html/maarch_oem/modules/convert/batch/tmp/</TmpDirectory> + <MaarchDirectory>/var/www/html/MaarchCourrier/</MaarchDirectory> + <TmpDirectory>/var/www/html/MaarchCourrier/modules/convert/batch/tmp/</TmpDirectory> <LogLevel>INFO</LogLevel> <!-- DEBUG, INFO, NOTICE, WARNING, ERROR--> <DisplayedLogLevel>INFO</DisplayedLogLevel> <!-- DEBUG, INFO, NOTICE, WARNING, ERROR--> - <StackSizeLimit>100</StackSizeLimit> - <ApacheUserAndGroup>www-data:www-data</ApacheUserAndGroup> - <UnoconvPath>C:\xampp\htdocs\unoconv\</UnoconvPath> <!-- only for Windows --> - <OpenOfficePath>C:\Program Files\OpenOffice.org 4\program\</OpenOfficePath> <!-- only for Windows --> + <StackSizeLimit>50</StackSizeLimit> + <ApacheUserAndGroup>lgi:lgi</ApacheUserAndGroup> + <UnoconvPath>unoconv</UnoconvPath> <!-- only for Windows --> + <OpenOfficePath>soffice</OpenOfficePath> <!-- only for Windows --> <UnoconvOptions>--port 8100</UnoconvOptions> <RegExResId>(2|3)$</RegExResId> <StartDateRecovery>false</StartDateRecovery> <!-- false or date dd/mm/yyyy --> @@ -31,7 +31,7 @@ <databaseserver>127.0.0.1</databaseserver> <databaseserverport>5432</databaseserverport> <databasetype>POSTGRESQL</databasetype> - <databasename>maarch_oem</databasename> + <databasename>MaarchCourrier</databasename> <databaseuser>maarch</databaseuser> <databasepassword>maarch</databasepassword> </CONFIG_BASE> @@ -40,17 +40,26 @@ <Table>res_letterbox</Table> <View>res_view_letterbox</View> <Adr>adr_letterbox</Adr> + <path_to_lucene_index>/opt/maarch/docservers/indexes/letterbox_coll/</path_to_lucene_index> </COLLECTION> <COLLECTION> <Id>attachments_coll</Id> <Table>res_attachments</Table> <View>res_view_attachments</View> <Adr>adr_attachments</Adr> + <path_to_lucene_index>/opt/maarch/docservers/indexes/attachments_coll/</path_to_lucene_index> + </COLLECTION> + <COLLECTION> + <Id>version_attachments_coll</Id> + <Table>res_version_attachments</Table> + <View>res_version_attachments</View> + <Adr>adr_attachments_version</Adr> + <path_to_lucene_index>/opt/maarch/docservers/indexes/version_attachments_coll/</path_to_lucene_index> </COLLECTION> <LOG4PHP> <enabled>true</enabled> <Log4PhpLogger>loggerTechnique</Log4PhpLogger> <Log4PhpBusinessCode>Convert</Log4PhpBusinessCode> - <Log4PhpConfigPath>/var/www/html/maarch_oem/apps/maarch_entreprise/xml/log4php.xml</Log4PhpConfigPath> + <Log4PhpConfigPath>/var/www/html/MaarchCourrier/apps/maarch_entreprise/xml/log4php.xml</Log4PhpConfigPath> </LOG4PHP> -</ROOT> +</ROOT> \ No newline at end of file diff --git a/modules/convert/batch/config/parallel/config_2.xml.default b/modules/convert/batch/config/parallel/config_2.xml.default index 6f13ac4dd5d..b30e3ba84c8 100644 --- a/modules/convert/batch/config/parallel/config_2.xml.default +++ b/modules/convert/batch/config/parallel/config_2.xml.default @@ -2,14 +2,14 @@ <ROOT> <CONFIG> <Lang>fr</Lang> <!-- fr, en--> - <MaarchDirectory>/var/www/html/maarch_oem/</MaarchDirectory> - <TmpDirectory>/var/www/html/maarch_oem/modules/convert/batch/tmp/</TmpDirectory> + <MaarchDirectory>/var/www/html/MaarchCourrier/</MaarchDirectory> + <TmpDirectory>/var/www/html/MaarchCourrier/modules/convert/batch/tmp/</TmpDirectory> <LogLevel>INFO</LogLevel> <!-- DEBUG, INFO, NOTICE, WARNING, ERROR--> <DisplayedLogLevel>INFO</DisplayedLogLevel> <!-- DEBUG, INFO, NOTICE, WARNING, ERROR--> - <StackSizeLimit>100</StackSizeLimit> - <ApacheUserAndGroup>www-data:www-data</ApacheUserAndGroup> - <UnoconvPath>C:\xampp\htdocs\unoconv\</UnoconvPath> <!-- only for Windows --> - <OpenOfficePath>C:\Program Files\OpenOffice.org 4\program\</OpenOfficePath> <!-- only for Windows --> + <StackSizeLimit>50</StackSizeLimit> + <ApacheUserAndGroup>lgi:lgi</ApacheUserAndGroup> + <UnoconvPath>unoconv</UnoconvPath> <!-- only for Windows --> + <OpenOfficePath>soffice</OpenOfficePath> <!-- only for Windows --> <UnoconvOptions>--port 8100</UnoconvOptions> <RegExResId>(4|5)$</RegExResId> <StartDateRecovery>false</StartDateRecovery> <!-- false or date dd/mm/yyyy --> @@ -31,7 +31,7 @@ <databaseserver>127.0.0.1</databaseserver> <databaseserverport>5432</databaseserverport> <databasetype>POSTGRESQL</databasetype> - <databasename>maarch_oem</databasename> + <databasename>MaarchCourrier</databasename> <databaseuser>maarch</databaseuser> <databasepassword>maarch</databasepassword> </CONFIG_BASE> @@ -40,17 +40,26 @@ <Table>res_letterbox</Table> <View>res_view_letterbox</View> <Adr>adr_letterbox</Adr> + <path_to_lucene_index>/opt/maarch/docservers/indexes/letterbox_coll/</path_to_lucene_index> </COLLECTION> <COLLECTION> <Id>attachments_coll</Id> <Table>res_attachments</Table> <View>res_view_attachments</View> <Adr>adr_attachments</Adr> + <path_to_lucene_index>/opt/maarch/docservers/indexes/attachments_coll/</path_to_lucene_index> + </COLLECTION> + <COLLECTION> + <Id>version_attachments_coll</Id> + <Table>res_version_attachments</Table> + <View>res_version_attachments</View> + <Adr>adr_attachments_version</Adr> + <path_to_lucene_index>/opt/maarch/docservers/indexes/version_attachments_coll/</path_to_lucene_index> </COLLECTION> <LOG4PHP> <enabled>true</enabled> <Log4PhpLogger>loggerTechnique</Log4PhpLogger> <Log4PhpBusinessCode>Convert</Log4PhpBusinessCode> - <Log4PhpConfigPath>/var/www/html/maarch_oem/apps/maarch_entreprise/xml/log4php.xml</Log4PhpConfigPath> + <Log4PhpConfigPath>/var/www/html/MaarchCourrier/apps/maarch_entreprise/xml/log4php.xml</Log4PhpConfigPath> </LOG4PHP> -</ROOT> +</ROOT> \ No newline at end of file diff --git a/modules/convert/batch/config/parallel/config_3.xml.default b/modules/convert/batch/config/parallel/config_3.xml.default index ae050eb47b2..aa851ceddb4 100644 --- a/modules/convert/batch/config/parallel/config_3.xml.default +++ b/modules/convert/batch/config/parallel/config_3.xml.default @@ -2,14 +2,14 @@ <ROOT> <CONFIG> <Lang>fr</Lang> <!-- fr, en--> - <MaarchDirectory>/var/www/html/maarch_oem/</MaarchDirectory> - <TmpDirectory>/var/www/html/maarch_oem/modules/convert/batch/tmp/</TmpDirectory> + <MaarchDirectory>/var/www/html/MaarchCourrier/</MaarchDirectory> + <TmpDirectory>/var/www/html/MaarchCourrier/modules/convert/batch/tmp/</TmpDirectory> <LogLevel>INFO</LogLevel> <!-- DEBUG, INFO, NOTICE, WARNING, ERROR--> <DisplayedLogLevel>INFO</DisplayedLogLevel> <!-- DEBUG, INFO, NOTICE, WARNING, ERROR--> - <StackSizeLimit>100</StackSizeLimit> - <ApacheUserAndGroup>www-data:www-data</ApacheUserAndGroup> - <UnoconvPath>C:\xampp\htdocs\unoconv\</UnoconvPath> <!-- only for Windows --> - <OpenOfficePath>C:\Program Files\OpenOffice.org 4\program\</OpenOfficePath> <!-- only for Windows --> + <StackSizeLimit>50</StackSizeLimit> + <ApacheUserAndGroup>lgi:lgi</ApacheUserAndGroup> + <UnoconvPath>unoconv</UnoconvPath> <!-- only for Windows --> + <OpenOfficePath>soffice</OpenOfficePath> <!-- only for Windows --> <UnoconvOptions>--port 8100</UnoconvOptions> <RegExResId>(6|7)$</RegExResId> <StartDateRecovery>false</StartDateRecovery> <!-- false or date dd/mm/yyyy --> @@ -31,7 +31,7 @@ <databaseserver>127.0.0.1</databaseserver> <databaseserverport>5432</databaseserverport> <databasetype>POSTGRESQL</databasetype> - <databasename>maarch_oem</databasename> + <databasename>MaarchCourrier</databasename> <databaseuser>maarch</databaseuser> <databasepassword>maarch</databasepassword> </CONFIG_BASE> @@ -40,17 +40,26 @@ <Table>res_letterbox</Table> <View>res_view_letterbox</View> <Adr>adr_letterbox</Adr> + <path_to_lucene_index>/opt/maarch/docservers/indexes/letterbox_coll/</path_to_lucene_index> </COLLECTION> <COLLECTION> <Id>attachments_coll</Id> <Table>res_attachments</Table> <View>res_view_attachments</View> <Adr>adr_attachments</Adr> + <path_to_lucene_index>/opt/maarch/docservers/indexes/attachments_coll/</path_to_lucene_index> + </COLLECTION> + <COLLECTION> + <Id>version_attachments_coll</Id> + <Table>res_version_attachments</Table> + <View>res_version_attachments</View> + <Adr>adr_attachments_version</Adr> + <path_to_lucene_index>/opt/maarch/docservers/indexes/version_attachments_coll/</path_to_lucene_index> </COLLECTION> <LOG4PHP> <enabled>true</enabled> <Log4PhpLogger>loggerTechnique</Log4PhpLogger> <Log4PhpBusinessCode>Convert</Log4PhpBusinessCode> - <Log4PhpConfigPath>/var/www/html/maarch_oem/apps/maarch_entreprise/xml/log4php.xml</Log4PhpConfigPath> + <Log4PhpConfigPath>/var/www/html/MaarchCourrier/apps/maarch_entreprise/xml/log4php.xml</Log4PhpConfigPath> </LOG4PHP> -</ROOT> +</ROOT> \ No newline at end of file diff --git a/modules/convert/batch/config/parallel/config_4.xml.default b/modules/convert/batch/config/parallel/config_4.xml.default index 7dc4b7d8ab6..46d9f6993e0 100644 --- a/modules/convert/batch/config/parallel/config_4.xml.default +++ b/modules/convert/batch/config/parallel/config_4.xml.default @@ -2,14 +2,14 @@ <ROOT> <CONFIG> <Lang>fr</Lang> <!-- fr, en--> - <MaarchDirectory>/var/www/html/maarch_oem/</MaarchDirectory> - <TmpDirectory>/var/www/html/maarch_oem/modules/convert/batch/tmp/</TmpDirectory> + <MaarchDirectory>/var/www/html/MaarchCourrier/</MaarchDirectory> + <TmpDirectory>/var/www/html/MaarchCourrier/modules/convert/batch/tmp/</TmpDirectory> <LogLevel>INFO</LogLevel> <!-- DEBUG, INFO, NOTICE, WARNING, ERROR--> <DisplayedLogLevel>INFO</DisplayedLogLevel> <!-- DEBUG, INFO, NOTICE, WARNING, ERROR--> - <StackSizeLimit>100</StackSizeLimit> - <ApacheUserAndGroup>www-data:www-data</ApacheUserAndGroup> - <UnoconvPath>C:\xampp\htdocs\unoconv\</UnoconvPath> <!-- only for Windows --> - <OpenOfficePath>C:\Program Files\OpenOffice.org 4\program\</OpenOfficePath> <!-- only for Windows --> + <StackSizeLimit>50</StackSizeLimit> + <ApacheUserAndGroup>lgi:lgi</ApacheUserAndGroup> + <UnoconvPath>unoconv</UnoconvPath> <!-- only for Windows --> + <OpenOfficePath>soffice</OpenOfficePath> <!-- only for Windows --> <UnoconvOptions>--port 8100</UnoconvOptions> <RegExResId>(8|9)$</RegExResId> <StartDateRecovery>false</StartDateRecovery> <!-- false or date dd/mm/yyyy --> @@ -31,7 +31,7 @@ <databaseserver>127.0.0.1</databaseserver> <databaseserverport>5432</databaseserverport> <databasetype>POSTGRESQL</databasetype> - <databasename>maarch_oem</databasename> + <databasename>MaarchCourrier</databasename> <databaseuser>maarch</databaseuser> <databasepassword>maarch</databasepassword> </CONFIG_BASE> @@ -40,17 +40,26 @@ <Table>res_letterbox</Table> <View>res_view_letterbox</View> <Adr>adr_letterbox</Adr> + <path_to_lucene_index>/opt/maarch/docservers/indexes/letterbox_coll/</path_to_lucene_index> </COLLECTION> <COLLECTION> <Id>attachments_coll</Id> <Table>res_attachments</Table> <View>res_view_attachments</View> <Adr>adr_attachments</Adr> + <path_to_lucene_index>/opt/maarch/docservers/indexes/attachments_coll/</path_to_lucene_index> + </COLLECTION> + <COLLECTION> + <Id>version_attachments_coll</Id> + <Table>res_version_attachments</Table> + <View>res_version_attachments</View> + <Adr>adr_attachments_version</Adr> + <path_to_lucene_index>/opt/maarch/docservers/indexes/version_attachments_coll/</path_to_lucene_index> </COLLECTION> <LOG4PHP> <enabled>true</enabled> <Log4PhpLogger>loggerTechnique</Log4PhpLogger> <Log4PhpBusinessCode>Convert</Log4PhpBusinessCode> - <Log4PhpConfigPath>/var/www/html/maarch_oem/apps/maarch_entreprise/xml/log4php.xml</Log4PhpConfigPath> + <Log4PhpConfigPath>/var/www/html/MaarchCourrier/apps/maarch_entreprise/xml/log4php.xml</Log4PhpConfigPath> </LOG4PHP> -</ROOT> +</ROOT> \ No newline at end of file diff --git a/modules/convert/batch/scripts/launch_convert_all_coll.sh b/modules/convert/batch/scripts/launch_convert_all_coll.sh.default similarity index 82% rename from modules/convert/batch/scripts/launch_convert_all_coll.sh rename to modules/convert/batch/scripts/launch_convert_all_coll.sh.default index 1f55da8f176..b729fa249c8 100644 --- a/modules/convert/batch/scripts/launch_convert_all_coll.sh +++ b/modules/convert/batch/scripts/launch_convert_all_coll.sh.default @@ -1,7 +1,7 @@ #!/bin/bash -Mypath='/var/www/html/oem_V2/modules/convert/batch' +Mypath='/var/www/html/MaarchCourrier/modules/convert/batch' cd $Mypath -ConfigPath='/var/www/html/oem_V2/modules/convert/batch/config' +ConfigPath='/var/www/html/MaarchCourrier/modules/convert/batch/config' #rm convert_letterbox_coll_config.lck #rm convert_letterbox_coll_config_error.lck diff --git a/modules/convert/batch/scripts/launch_convert_attachments.sh b/modules/convert/batch/scripts/launch_convert_attachments.sh deleted file mode 100644 index 82c23ff2cf1..00000000000 --- a/modules/convert/batch/scripts/launch_convert_attachments.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -Mypath='/var/www/html/maarch_oem/modules/convert/batch' -cd $Mypath -ConfigPath='/var/www/html/maarch_oem/modules/convert/batch/config' - -php $Mypath/fill_stack.php -c $ConfigPath/config.xml -coll attachments_coll \ No newline at end of file diff --git a/modules/convert/batch/scripts/launch_convert_attachments.sh.default b/modules/convert/batch/scripts/launch_convert_attachments.sh.default index 82c23ff2cf1..0969b997b16 100644 --- a/modules/convert/batch/scripts/launch_convert_attachments.sh.default +++ b/modules/convert/batch/scripts/launch_convert_attachments.sh.default @@ -1,6 +1,6 @@ #!/bin/bash -Mypath='/var/www/html/maarch_oem/modules/convert/batch' +Mypath='/var/www/html/MaarchCourrier/modules/convert/batch' cd $Mypath -ConfigPath='/var/www/html/maarch_oem/modules/convert/batch/config' +ConfigPath='/var/www/html/MaarchCourrier/modules/convert/batch/config' php $Mypath/fill_stack.php -c $ConfigPath/config.xml -coll attachments_coll \ No newline at end of file diff --git a/modules/convert/batch/scripts/launch_convert_letterbox.sh b/modules/convert/batch/scripts/launch_convert_letterbox.sh deleted file mode 100644 index 1e01fa3d466..00000000000 --- a/modules/convert/batch/scripts/launch_convert_letterbox.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash -Mypath='/var/www/html/maarch_oem/modules/convert/batch' -cd $Mypath -ConfigPath='/var/www/html/maarch_oem/modules/convert/batch/config' - -rm convert_letterbox_coll_config.lck -rm convert_letterbox_coll_config_error.lck - -php $Mypath/fill_stack.php -c $ConfigPath/config.xml -coll letterbox_coll diff --git a/modules/convert/batch/scripts/launch_convert_letterbox.sh.default b/modules/convert/batch/scripts/launch_convert_letterbox.sh.default index e218e5a7283..e9430237257 100644 --- a/modules/convert/batch/scripts/launch_convert_letterbox.sh.default +++ b/modules/convert/batch/scripts/launch_convert_letterbox.sh.default @@ -1,6 +1,6 @@ #!/bin/bash -Mypath='/var/www/html/maarch_oem/modules/convert/batch' +Mypath='/var/www/html/MaarchCourrier/modules/convert/batch' cd $Mypath -ConfigPath='/var/www/html/maarch_oem/modules/convert/batch/config' +ConfigPath='/var/www/html/MaarchCourrier/modules/convert/batch/config' php $Mypath/fill_stack.php -c $ConfigPath/config.xml -coll letterbox_coll \ No newline at end of file diff --git a/modules/convert/batch/scripts/launch_convert_reprise.sh.default b/modules/convert/batch/scripts/launch_convert_reprise.sh.default deleted file mode 100644 index 44f8126f75d..00000000000 --- a/modules/convert/batch/scripts/launch_convert_reprise.sh.default +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash -Mypath='/var/www/html/maarch_oem/modules/convert/batch' -cd $Mypath -ConfigPath='/var/www/html/maarch_oem/modules/convert/batch/config' - -rm convert_reprise_coll_config.lck -rm convert_reprise_coll_config_error.lck - -php $Mypath/fill_stack.php -c $ConfigPath/config_reprise_oem.xml -coll reprise_coll diff --git a/modules/convert/batch/scripts/launch_fulltext_all_coll.sh b/modules/convert/batch/scripts/launch_fulltext_all_coll.sh.default similarity index 85% rename from modules/convert/batch/scripts/launch_fulltext_all_coll.sh rename to modules/convert/batch/scripts/launch_fulltext_all_coll.sh.default index 2883f9dca68..4055fb238f9 100644 --- a/modules/convert/batch/scripts/launch_fulltext_all_coll.sh +++ b/modules/convert/batch/scripts/launch_fulltext_all_coll.sh.default @@ -1,7 +1,7 @@ #!/bin/bash -Mypath='/var/www/html/oem_V2/modules/convert/batch' +Mypath='/var/www/html/MaarchCourrier/modules/convert/batch' cd $Mypath -ConfigPath='/var/www/html/oem_V2/modules/convert/batch/config' +ConfigPath='/var/www/html/MaarchCourrier/modules/convert/batch/config' #rm convert_letterbox_coll_config_only_indexes.lck #rm convert_letterbox_coll_config_only_indexes_error.lck diff --git a/modules/convert/batch/scripts/launch_fulltext_attachments.sh b/modules/convert/batch/scripts/launch_fulltext_attachments.sh.default similarity index 63% rename from modules/convert/batch/scripts/launch_fulltext_attachments.sh rename to modules/convert/batch/scripts/launch_fulltext_attachments.sh.default index c4fecdce5d9..897e3b5c720 100644 --- a/modules/convert/batch/scripts/launch_fulltext_attachments.sh +++ b/modules/convert/batch/scripts/launch_fulltext_attachments.sh.default @@ -1,7 +1,7 @@ #!/bin/bash -Mypath='/var/www/html/oem/modules/convert/batch' +Mypath='/var/www/html/MaarchCourrier/modules/convert/batch' cd $Mypath -ConfigPath='/var/www/html/oem/modules/convert/batch/config' +ConfigPath='/var/www/html/MaarchCourrier/modules/convert/batch/config' rm convert_attachments_coll_config_only_indexes.lck rm convert_attachments_coll_config_only_indexes_error.lck diff --git a/modules/convert/batch/scripts/launch_fulltext_letterbox.sh b/modules/convert/batch/scripts/launch_fulltext_letterbox.sh.default similarity index 62% rename from modules/convert/batch/scripts/launch_fulltext_letterbox.sh rename to modules/convert/batch/scripts/launch_fulltext_letterbox.sh.default index 084d5833885..11906732bbf 100644 --- a/modules/convert/batch/scripts/launch_fulltext_letterbox.sh +++ b/modules/convert/batch/scripts/launch_fulltext_letterbox.sh.default @@ -1,7 +1,7 @@ #!/bin/bash -Mypath='/var/www/html/oem/modules/convert/batch' +Mypath='/var/www/html/MaarchCourrier/modules/convert/batch' cd $Mypath -ConfigPath='/var/www/html/oem/modules/convert/batch/config' +ConfigPath='/var/www/html/MaarchCourrier/modules/convert/batch/config' rm convert_letterbox_coll_config_only_indexes.lck rm convert_letterbox_coll_config_only_indexes_error.lck diff --git a/modules/convert/batch/scripts/lgi.sh b/modules/convert/batch/scripts/lgi.sh deleted file mode 100644 index e724de2f88e..00000000000 --- a/modules/convert/batch/scripts/lgi.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash -Mypath='/var/www/html/oem_V2/modules/convert/batch' -cd $Mypath -ConfigPath='/var/www/html/oem_V2/modules/convert/batch/config' - -rm convert_letterbox_coll_config_only_indexes.lck -rm convert_letterbox_coll_config_only_indexes_error.lck - -rm convert_attachments_coll_config_only_indexes.lck -rm convert_attachments_coll_config_only_indexes_error.lck - -php $Mypath/fill_stack.php -c $ConfigPath/config_only_indexes.xml -coll letterbox_coll -php $Mypath/fill_stack.php -c $ConfigPath/config_only_indexes.xml -coll attachments_coll \ No newline at end of file diff --git a/modules/convert/batch/scripts/parallel/launch_convert_letterbox_0.sh.default b/modules/convert/batch/scripts/parallel/launch_convert_letterbox_0.sh.default index 5ea397e8bfc..3ffef248dfc 100644 --- a/modules/convert/batch/scripts/parallel/launch_convert_letterbox_0.sh.default +++ b/modules/convert/batch/scripts/parallel/launch_convert_letterbox_0.sh.default @@ -1,7 +1,7 @@ #!/bin/bash -Mypath='/var/www/html/maarch_oem/modules/convert/batch' +Mypath='/var/www/html/MaarchCourrier/modules/convert/batch' cd $Mypath -ConfigPath='/var/www/html/maarch_oem/modules/convert/batch/parallel/config' +ConfigPath='/var/www/html/MaarchCourrier/modules/convert/batch/config/parallel' for (( i=0; i < 3; i++ )); do php $Mypath/fill_stack.php -c $ConfigPath/config_0.xml -coll letterbox_coll diff --git a/modules/convert/batch/scripts/parallel/launch_convert_letterbox_1.sh.default b/modules/convert/batch/scripts/parallel/launch_convert_letterbox_1.sh.default index 686b8dd0909..ccd8fb0406d 100644 --- a/modules/convert/batch/scripts/parallel/launch_convert_letterbox_1.sh.default +++ b/modules/convert/batch/scripts/parallel/launch_convert_letterbox_1.sh.default @@ -1,7 +1,7 @@ #!/bin/bash -Mypath='/var/www/html/maarch_oem/modules/convert/batch' +Mypath='/var/www/html/MaarchCourrier/modules/convert/batch' cd $Mypath -ConfigPath='/var/www/html/maarch_oem/modules/convert/batch/parallel/config' +ConfigPath='/var/www/html/MaarchCourrier/modules/convert/batch/config/parallel' for (( i=0; i < 3; i++ )); do php $Mypath/fill_stack.php -c $ConfigPath/config_1.xml -coll letterbox_coll diff --git a/modules/convert/batch/scripts/parallel/launch_convert_letterbox_2.sh.default b/modules/convert/batch/scripts/parallel/launch_convert_letterbox_2.sh.default index 2413c94236b..4405d6e3a3a 100644 --- a/modules/convert/batch/scripts/parallel/launch_convert_letterbox_2.sh.default +++ b/modules/convert/batch/scripts/parallel/launch_convert_letterbox_2.sh.default @@ -1,7 +1,7 @@ #!/bin/bash -Mypath='/var/www/html/maarch_oem/modules/convert/batch' +Mypath='/var/www/html/MaarchCourrier/modules/convert/batch' cd $Mypath -ConfigPath='/var/www/html/maarch_oem/modules/convert/batch/parallel/config' +ConfigPath='/var/www/html/MaarchCourrier/modules/convert/batch/config/parallel/' for (( i=0; i < 3; i++ )); do php $Mypath/fill_stack.php -c $ConfigPath/config_2.xml -coll letterbox_coll diff --git a/modules/convert/batch/scripts/parallel/launch_convert_letterbox_3.sh.default b/modules/convert/batch/scripts/parallel/launch_convert_letterbox_3.sh.default index 4f1e58d4afa..45e28e9bdb4 100644 --- a/modules/convert/batch/scripts/parallel/launch_convert_letterbox_3.sh.default +++ b/modules/convert/batch/scripts/parallel/launch_convert_letterbox_3.sh.default @@ -1,7 +1,7 @@ #!/bin/bash -Mypath='/var/www/html/maarch_oem/modules/convert/batch' +Mypath='/var/www/html/MaarchCourrier/modules/convert/batch' cd $Mypath -ConfigPath='/var/www/html/maarch_oem/modules/convert/batch/parallel/config' +ConfigPath='/var/www/html/MaarchCourrier/modules/convert/batch/config/parallel/' for (( i=0; i < 3; i++ )); do php $Mypath/fill_stack.php -c $ConfigPath/config_3.xml -coll letterbox_coll diff --git a/modules/convert/batch/scripts/parallel/launch_convert_letterbox_4.sh.default b/modules/convert/batch/scripts/parallel/launch_convert_letterbox_4.sh.default index 38999f62087..5e2d68f800d 100644 --- a/modules/convert/batch/scripts/parallel/launch_convert_letterbox_4.sh.default +++ b/modules/convert/batch/scripts/parallel/launch_convert_letterbox_4.sh.default @@ -1,7 +1,7 @@ #!/bin/bash -Mypath='/var/www/html/maarch_oem/modules/convert/batch' +Mypath='/var/www/html/MaarchCourrier/modules/convert/batch' cd $Mypath -ConfigPath='/var/www/html/maarch_oem/modules/convert/batch/parallel/config' +ConfigPath='/var/www/html/MaarchCourrier/modules/convert/batch/config/parallel/' for (( i=0; i < 3; i++ )); do php $Mypath/fill_stack.php -c $ConfigPath/config_4.xml -coll letterbox_coll diff --git a/modules/convert/batch/scripts/parallel/param_cron.txt b/modules/convert/batch/scripts/parallel/param_cron.txt index 4a260f65532..de6869a344b 100644 --- a/modules/convert/batch/scripts/parallel/param_cron.txt +++ b/modules/convert/batch/scripts/parallel/param_cron.txt @@ -1,6 +1,6 @@ # tous les jours toutes les 2 heures de 0h a 20h du lundi au samedi lancement des batchs de conversion -0 0-20/2 * * 1-6 maarch /var/www/maarch/modules/maarch_oem/batch/scripts/parallel/launch_convert_letterbox_0.sh -1 0-20/2 * * 1-6 maarch /var/www/maarch/modules/maarch_oem/batch/scripts/parallel/launch_convert_letterbox_1.sh -2 0-20/2 * * 1-6 maarch /var/www/maarch/modules/maarch_oem/batch/scripts/parallel/launch_convert_letterbox_2.sh -3 0-20/2 * * 1-6 maarch /var/www/maarch/modules/maarch_oem/batch/scripts/parallel/launch_convert_letterbox_3.sh -4 0-20/2 * * 1-6 maarch /var/www/maarch/modules/maarch_oem/batch/scripts/parallel/launch_convert_letterbox_4.sh +0 0-20/2 * * 1-6 maarch /var/www/html/MaarchCourrier/modules/convert/batch/scripts/parallel/launch_convert_letterbox_0.sh +1 0-20/2 * * 1-6 maarch /var/www/html/MaarchCourrier/modules/convert/batch/scripts/parallel/launch_convert_letterbox_1.sh +2 0-20/2 * * 1-6 maarch /var/www/html/MaarchCourrier/modules/convert/batch/scripts/parallel/launch_convert_letterbox_2.sh +3 0-20/2 * * 1-6 maarch /var/www/html/MaarchCourrier/modules/convert/batch/scripts/parallel/launch_convert_letterbox_3.sh +4 0-20/2 * * 1-6 maarch /var/www/html/MaarchCourrier/modules/convert/batch/scripts/parallel/launch_convert_letterbox_4.sh -- GitLab