Add SeedDMS fulltext indexing cronjob
This commit is contained in:
parent
2e6d730ee6
commit
dd8b844c52
@ -46,5 +46,8 @@ ln -s /etc/nginx/apps-available/seeddms /etc/nginx/apps-enabled/seeddms
|
||||
systemctl restart php7.0-fpm
|
||||
systemctl restart nginx
|
||||
|
||||
# Install cron job
|
||||
cp ${SOURCE_DIR}/seeddms/etc/cron.d/seeddms /etc/cron.d/seeddms
|
||||
|
||||
# Add portal application definition
|
||||
${SOURCE_DIR}/basic/portal-app-manager.py seeddms "/seeddms/" "${SEEDDMS_ADMIN_USER}" "${SEEDDMS_ADMIN_PWD}"
|
||||
|
1
seeddms/etc/cron.d/seeddms
Normal file
1
seeddms/etc/cron.d/seeddms
Normal file
@ -0,0 +1 @@
|
||||
*/5 * * * * seeddms cd /srv/seeddms/www/utils/ && /usr/bin/php indexer.php --config ../conf/settings.xml >/dev/null
|
Loading…
Reference in New Issue
Block a user