#
# daloRADIUS - RADIUS Web Platform
# Copyright (C) 2007 - Liran Tal <liran@enginx.com> All Rights Reserved.
#
#
# daloRADIUS Crontab script entries
#
#

# -- configuration start

# change to set daloRADIUS's contrib/scripts/ directory
# by default this crontab script is in the same directory of the scripts which is
# why this is left as `pwd`. if you move it elsewhere, change accordingly.

DALO_DIR="/var/www/daloradius/contrib/scripts"

# -- configuration end


# This job cleans stale sessions. It runs every minute.
* * * * * /usr/bin/php $DALO_DIR/maintenance/cleanStaleSessions.php >/dev/null 2>&1

# This job cleans expired accounts. It runs every day at midnight.
#0 0 * * * /usr/bin/php $DALO_DIR/maintenance/cleanExpiredAccounts.php >/dev/null 2>&1

# This job monitors nodes. It runs every 15 minutes.
#/15 * * * * /usr/bin/php $DALO_DIR/monitorNodes.php >/dev/null 2>&1
