{include file="global/block_header.tpl" BLOCK_HEADER="Monitoring"} {foreach $CRONSTATUS as $cron=>$v} {foreach $v as $event} {/foreach} {/foreach}
Cronjob Exit Code Active Runtime Last Run Message
{$cron} {if $event.STATUS.type == 'okerror'} {if $event.STATUS.value == 0} OK {else} ERROR {/if} {else if $event.STATUS.type == 'message'} {$event.STATUS.value} {else if $event.STATUS.type == 'yesno'} {if $event.STATUS.value == 1} Yes {else} No {/if} {else if $event.STATUS.type == 'time'} {$event.STATUS.value|default:"0"|number_format:"2"} seconds {else if $event.STATUS.type == 'date'} {$event.STATUS.value|date_format:"%m/%d %H:%M:%S"} {else} {$event.STATUS.value|default:""} {/if}
{include file="global/block_footer.tpl"}