php-mpos/public/include/config/monitor_crons.inc.php
Sebastian Grewe 146b56259b [IMPROVED] Combined cleanup tasks into single PHP
* [IMPROVED] Logging format for all cleanup tasks
* [UPDATED] Cron shellescripts
* [UPDATE] Cron Monitoring Page
* [DELETED] Old `*_cleanup.php` scripts
2014-02-15 19:01:25 +01:00

18 lines
519 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','tables_cleanup','blockupdate','findblock','notifications','tickerupdate');
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;
}