report_run_getinfo report_altcolour
report_altchangecolour opendb_tests
report_blessingscond report_find_push_age_info
+ log_stderr_timestamped
tcpconnect_queuedaemon plan_search
manual_allocation_base_jobinfo
alloc_resources alloc_resources_rollback_begin_work
$restrictflight_cond .= " AND flights.flight != $_"
foreach split /,/, $1;
return 1;
+ } elsif ($arg =~ m/^--report-processing-start-time$/) {
+ # This functionality is wanted by all the callers of
+ # restrictflight_arg and is here for convenience, rather than
+ # out of principle.
+ log_stderr_timestamped("starting...");
+ return 1;
} else {
return 0;
}
}
+sub log_stderr_timestamped ($) {
+ my $us = $0;
+ $us =~ s{.*/}{};
+ print STDERR (show_abs_time time)." $us: @_\n";
+}
+
sub restrictflight_cond () {
return "($restrictflight_cond)";
}