#include "bacula.h"
#include "dird.h"
-#define PHIL
+/* #define PHIL */
/* Local variables */
bstrftime_nc(dt, sizeof(dt), runtime);
bstrftime_nc(dt1, sizeof(dt1), run->last_run);
bstrftime_nc(dt2, sizeof(dt2), now);
- Dmsg4(000, "Drop: Job=%s run=%s. last_run=%s. now=%s\n", job->hdr.name,
+ Dmsg4(000, "Drop: Job=\"%s\" run=%s. last_run=%s. now=%s\n", job->hdr.name,
dt, dt1, dt2);
+ fflush(stdout);
#endif
return;
}
jobs_to_run->append(je);
dump_job(je, "Appended job");
}
+ foreach_dlist(ji, jobs_to_run) {
+ dump_job(ji, "Run queue");
+ }
+ Dmsg0(000, "End run queue\n");
}
static void dump_job(job_item *ji, char *msg)
bstrftime_nc(dt, sizeof(dt), ji->runtime);
Dmsg4(200, "%s: Job=%s priority=%d run %s\n", msg, ji->job->hdr.name,
ji->Priority, dt);
+ fflush(stdout);
debug_level = save_debug;
#endif
}