1 |
mweinber |
1.1 |
--- smeserver-affa-0.9.0/root/etc/e-smith/templates/etc/cron.d/affa/00jobs.defaultRemoteHostName 2007-05-21 17:09:17.000000000 +0200 |
2 |
|
|
+++ smeserver-affa-0.9.0/root/etc/e-smith/templates/etc/cron.d/affa/00jobs 2008-02-29 10:07:36.000000000 +0100 |
3 |
|
|
@@ -30,7 +30,7 @@ |
4 |
|
|
my $status = $v->{'status'} || $defaultprops{'status'} || 'enabled'; |
5 |
|
|
next if $v->{'type'} ne 'job'; |
6 |
|
|
next if $k =~ /AFFA\.[a-z][a-z0-9\-]*\..*-\d*\.\d*\.\d*\.\d*/; # own backup |
7 |
|
|
- $OUT .= "\n# Job '$k' is $status, $v->{'remoteHostName'}" . ($v->{'Description'} ? ", $v->{'Description'}" : "" ) . "\n"; |
8 |
|
|
+ $OUT .= "\n# Job '$k' is $status, ". ($v->{'remoteHostName'}||'localhost') . ($v->{'Description'} ? ", $v->{'Description'}" : "" ) . "\n"; |
9 |
|
|
next if $status ne 'enabled'; |
10 |
|
|
my @u = split(",", ($v->{'TimeSchedule'}||$defaultprops{'TimeSchedule'}||'')); |
11 |
|
|
my @s; |