smeserver-expire-accounts/root/etc/e-smith/templates/etc/crontab/ExpireAccounts

9 lines
195 B
Plaintext

{
if (($ExpireAccounts{'status'} || 'disabled') ne 'enabled'){
$OUT .= "# Account expiration is disabled\n";
}
else{
$OUT .= "1 0 * * * root /sbin/e-smith/expire-accounts\n";
}
}