# cat /etc/e-smith/templates/etc/crontab/clamav
{
my $min = substr(gmtime,14,2);
$OUT .= "\n";
$OUT .= "# smeserver-clamscan filesystem scan\n";
my $ScanFreq = $clamav{FilesystemScan} || 'disabled';
if ($ScanFreq eq 'daily') {
$OUT .= $min."\t0\t*\t*\t*\troot\t/sbin/e-smith/smeserver-clamscan\n";
} elsif ($ScanFreq eq 'weekly') {
$OUT .= $min."\t0\t*\t*\t6\troot\t/sbin/e-smith/smeserver-clamscan\n";
} else {
$OUT .= "# disabled\n";
}
}
the line of interest for you is
$OUT .= $min."\t0\t*\t*\t6\troot\t/sbin/e-smith/smeserver-clamscan\n";
it is currently set to run on the 6th and last day (Saturday, as 0 is Sunday, 1 is Monday...) at hour 0:$min
where $min is the minute at which the template has been expanded the last time.