### Status codes ###
+NEW Newly inserted job, which did not run yet
NOPING Host does not respond to ping
NOXFER Transfer of the job body to a temporary file on the host has failed
OK Job finished successfully (this is usually not seen in the queue, since
my $queue = BEX::Queue->new($queue_name);
for my $m (@machines) {
if ($queue->enqueue($m, $job)) {
+ $queue->write_job_status($m, $job->id, { 'Time' => time, 'Status' => 'NEW' });
print "\t$m\n";
} else {
print "\t$m (already queued)\n";