[% META title = 'Admin » View Cron Log' -%] [% # PROCESS dumper.tt dump = data %] [% limit = c.query.param('limit') || 200; show_reports = c.query.param('show_reports') ? 1 : 0; %] [% # PROCESS dumper.tt dump = limit %] [% # PROCESS dumper.tt dump = show_reports %]

Cron Log

View most recent

Show reports: [% site.html.submit %]

[% USE date(format = '%Y-%m-%d', locale = 'en_GB'); count = 0; %] [% FOREACH entry IN data.reverse; NEXT IF entry.match('mail_reports.pl') AND NOT show_reports; LAST IF count == limit; count = count + 1; IF entry.match(err_flag); # highlight & delete error flag: class = 'red'; entry = entry.replace(err_flag, ''); ELSE; class = entry.match(date.format) ? 'bold' : 'normal'; END; %] [% END %]
Message
[% count %] [% entry %]