20 0 * * * mysqldump -u'root' -p'w$2LS=gqqQ' 1134-vpn-blue --ignore-table=1134-vpn-blue.subscription_receipts > /var/www/html/dbbackups/1134-vpn-blue-"$(date +"\%Y_\%m_\%d_\%I_\%M_\%p")".sql > /dev/null 2>&1
20 0 * * * find /var/www/html/dbbackups/ -type f -mtime +5 -delete > /dev/null 2>&1
20 0 * * * find /var/www/html/logs/ -type f -mtime +5 -delete > /dev/null 2>&1

#15 0 * * * php /var/www/html/index.php cron prepare_analytics > /dev/null 2>&1

10 */2 * * * php /var/www/html/index.php cron expire_inactive_wholesalers > /dev/null 2>&1
10 0 * * * php /var/www/html/index.php cron delete_old_receipts > /dev/null 2>&1
5 0 * * * php /var/www/html/index.php cron capture_subscription_stats > /dev/null 2>&1

*/5 * * * * /bin/bash /var/www/html/system-alerts.sh > /dev/null 2>&1
*/5 * * * * php /var/www/html/index.php cron clean_old_sessions > /dev/null 2>&1
