#!/bin/bash

################################################################################
# Copyright 2023-2025 by NI SP Software GmbH, All rights reserved.
# Copyright 1999-2023 by Nice, srl., All rights reserved.
#
# This software includes confidential and proprietary information
# of NI SP Software GmbH ("Confidential Information").
# You shall not disclose such Confidential Information
# and shall use it only in accordance with the terms of
# the license agreement you entered into with NI SP Software.
################################################################################
################################################################################
if [ -z "${jobid}" ]; then
    exit 1
fi

. "${EF_ROOT}/plugins/torque/bin/common"

tracejob -n "${TORQUE_JOB_HISTORY_INTERVAL:-14}" "$@" "${jobid}" 2>&1
