From: Dirk Koopman Date: Fri, 17 Apr 2020 01:13:58 +0000 (+0100) Subject: add dbg line to dxcron::spawn_cmd X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?p=spider.git;a=commitdiff_plain;h=d6be28a3da4f40fcba1c2f0161ac48a38378a103 add dbg line to dxcron::spawn_cmd --- diff --git a/perl/DXCron.pm b/perl/DXCron.pm index 0cc6ce88..ae9feb32 100644 --- a/perl/DXCron.pm +++ b/perl/DXCron.pm @@ -246,6 +246,7 @@ sub spawn { my $line = shift; + dbg("DXCron::spawn: $line") if isdbg("cron"); my $fc = Mojo::IOLoop::Subprocess->new(); $fc->run( sub {my @res = `$line`; return @res},