Created
August 25, 2021 02:41
-
-
Save horaciod/94c3fa1ffdd64b2483cd77574bb45da5 to your computer and use it in GitHub Desktop.
Script para limpiar sesiones en VUFIND #vufind
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
export VUFIND_LOCAL_DIR=/usr/local/vufind/local | |
cd /usr/local/vufind/util | |
/usr/bin/php expire_searches.php | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
para limpiar sesiones se usa
cd /usr/local/vufind/util
/usr/bin/php expire_sessions.php
configurar en el cron (revisar persmisos del usuario del cron)
0 23 * * * /scripts/limpiar_busquedas.php