Workload Automation Agents

 View Only

how to redirect stderr stdout to null for nt_jobs and sun_jobs

  • 1.  how to redirect stderr stdout to null for nt_jobs and sun_jobs

    Posted Aug 10, 2019 10:55 AM
    Hello Forum,   Have a cybAgent 101 question;
    We have a new windows user app that is going to be scheduled that writes out thousands of lines that the support of the job says is not needed to kept (but the developers won't turn off........whatever)

    Can anyone advise how one would code an nt_job  so that
    ENVAR STDOUT=  and/or ENVAR STDERR=   
    would go to NULL or NUL, (ie would just go off to never-never land and not be saved to the spool file)

    and likewise if the syntax is different for unix,  how to code a sun_job so that
    ENVAR STDOUT=  and/or ENVAR STDERR=
    would go to NULL or NUL, (ie would just go off to never-never land and not be saved to the spool file

    thanks

    ------------------------------
    Mike B
    ------------------------------