Lines 63-69
if( !$confirm || $help || !defined($days) ) {
Link Here
|
63 |
print "No confirm parameter passed!\n\n" if !$confirm && !$help; |
63 |
print "No confirm parameter passed!\n\n" if !$confirm && !$help; |
64 |
print $usage; |
64 |
print $usage; |
65 |
} elsif( $days and $days > 0 ) { |
65 |
} elsif( $days and $days > 0 ) { |
66 |
cronlogaction(); |
66 |
cronlogaction( " ( days: $days )"); |
67 |
DelSuggestionsOlderThan($days); |
67 |
DelSuggestionsOlderThan($days); |
68 |
} else { |
68 |
} else { |
69 |
warn "This script requires a positive number of days. Aborted.\n"; |
69 |
warn "This script requires a positive number of days. Aborted.\n"; |
70 |
- |
|
|