php-mpos/public/include/config/monitor_crons.inc.php
Sebastian Grewe 5f48d2dabc [ADDED] Notification cleanup script
* [ADDED] Admin Panel Setting for max age for notifications
* [ADDED] Cronjob to clean out old notifications
* [ADDED] New cron to scripts and monitoring

Fixes #1672 once merged.
2014-02-12 10:47:42 +01:00

18 lines
575 B
PHP

<?php
// Small helper array that may be used on some page controllers to
// fetch the crons we wish to monitor
$aMonitorCrons = array('statistics','payouts','token_cleanup','archive_cleanup','notification_cleanup','blockupdate','findblock','notifications','tickerupdate','liquid_payout');
switch ($config['payout_system']) {
case 'pplns':
$aMonitorCrons[] = $config['payout_system'] . '_payout';
break;
case 'pps':
$aMonitorCrons[] = $config['payout_system'] . '_payout';
break;
case 'prop':
$aMonitorCrons[] = 'proportional_payout';
break;
}