diff --git a/src/script/hydra_build.pl b/src/script/hydra_build.pl index 8cb4f4d1..f40d196f 100755 --- a/src/script/hydra_build.pl +++ b/src/script/hydra_build.pl @@ -7,6 +7,8 @@ use Hydra::Schema; use Hydra::Helper::Nix; +STDOUT->autoflush(); + my $db = openHydraDB; diff --git a/src/script/hydra_queue_runner.pl b/src/script/hydra_queue_runner.pl index 030aeee8..bf204b28 100755 --- a/src/script/hydra_queue_runner.pl +++ b/src/script/hydra_queue_runner.pl @@ -14,6 +14,8 @@ my $db = openHydraDB; my $hydraHome = $ENV{"HYDRA_HOME"}; die "The HYDRA_HOME environment variable is not set!\n" unless defined $hydraHome; +STDOUT->autoflush(); + #$SIG{CHLD} = 'IGNORE'; diff --git a/src/script/hydra_scheduler.pl b/src/script/hydra_scheduler.pl index d2afc316..07b14dea 100755 --- a/src/script/hydra_scheduler.pl +++ b/src/script/hydra_scheduler.pl @@ -9,6 +9,8 @@ use IPC::Run; use POSIX qw(strftime); +STDOUT->autoflush(); + my $db = openHydraDB;