smeserver-webapps-common/root/etc/e-smith/templates/etc/crontab/httpd-update-crl

9 lines
235 B
Plaintext

{
my $url = ${'httpd-e-smith'}{'CrlUrl'} || '';
if ($url =~ /^http(s)?:\/\/.*$/){
$OUT .= "# Update httpd-e-smith's CRL\n";
$OUT .= "5 * * * * root /etc/e-smith/events/actions/webapps-update-crl 2>&1 /dev/null\n";
}
}