Add SeedDMS fulltext indexing cronjob

This commit is contained in:
Disassembler 2017-10-07 23:09:08 +02:00
parent 2e6d730ee6
commit dd8b844c52
2 changed files with 4 additions and 0 deletions

View File

@ -46,5 +46,8 @@ ln -s /etc/nginx/apps-available/seeddms /etc/nginx/apps-enabled/seeddms
systemctl restart php7.0-fpm systemctl restart php7.0-fpm
systemctl restart nginx systemctl restart nginx
# Install cron job
cp ${SOURCE_DIR}/seeddms/etc/cron.d/seeddms /etc/cron.d/seeddms
# Add portal application definition # Add portal application definition
${SOURCE_DIR}/basic/portal-app-manager.py seeddms "/seeddms/" "${SEEDDMS_ADMIN_USER}" "${SEEDDMS_ADMIN_PWD}" ${SOURCE_DIR}/basic/portal-app-manager.py seeddms "/seeddms/" "${SEEDDMS_ADMIN_USER}" "${SEEDDMS_ADMIN_PWD}"

View File

@ -0,0 +1 @@
*/5 * * * * seeddms cd /srv/seeddms/www/utils/ && /usr/bin/php indexer.php --config ../conf/settings.xml >/dev/null