command = JobSchedulerManagedObject.replaceVariablesInCommand(command, orderPayload, getLogger());
// replace order-specific placeholders
if(orderJob) {
order = spooler_task.order();
realOrderParams = order.params();
command = command.replaceAll("\\$\\{scheduler_order_id\\}" , order.id());
command = command.replaceAll("\\$\\{scheduler_order_managed_id\\}" , "0");
this.getLogger().info("executing database statement(s) for managed order [" + order.id() + "]: " + command);
} else {
this.getLogger().info("executing database statement(s): " + command);