View | Details | Raw Unified | Return to bug 11120
Collapse All | Expand All

(-)a/misc/cronjobs/overdue_notices.pl (-3 / +2 lines)
Lines 168-174 Choose list-all to include all overdue items in the list (limited by B<-max> set Link Here
168
168
169
=item B<-date>
169
=item B<-date>
170
170
171
use it in order to send overdues on a specific date and not Now.
171
use it in order to send overdues on a specific date and not Now. Format: YYYY-MM-DD.
172
172
173
=item B<-email>
173
=item B<-email>
174
174
Lines 364-370 if ( $date_input ){ Link Here
364
    eval {
364
    eval {
365
        $date_to_run = dt_from_string( $date_input );
365
        $date_to_run = dt_from_string( $date_input );
366
    };
366
    };
367
    die "$date_input is not a valid date, aborting!"
367
    die "$date_input is not a valid date, aborting! Use a date in format YYYY-MM-DD."
368
        if $@ or not $date_to_run;
368
        if $@ or not $date_to_run;
369
369
370
}
370
}
371
- 

Return to bug 11120