diff options
Diffstat (limited to 'tw_hooks/on-add_scheduled_work_task.pl')
-rwxr-xr-x | tw_hooks/on-add_scheduled_work_task.pl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tw_hooks/on-add_scheduled_work_task.pl b/tw_hooks/on-add_scheduled_work_task.pl index 4d65368..296066f 100755 --- a/tw_hooks/on-add_scheduled_work_task.pl +++ b/tw_hooks/on-add_scheduled_work_task.pl @@ -60,7 +60,10 @@ if ($decoded_task->{scheduled} and (scalar grep {$_ eq "dft" } @{$tags})) { my @out_file = $ssh->capture("cat $work_rem_file"); - print "Contents of $work_rem_file on $host is now:\n", @out_file; + print qq/ +Contents of $work_rem_file on $host is now:\n/, + @out_file; + print encode_json $decoded_task; exit 0; } else { |