AutoSys Workload Automation

 View Only
  • 1.  CA Workload Automation DE - command Linux wget with problem

    Posted Dec 02, 2019 03:36 PM
      |   view attached
    Hi 
    error in the command execution
    thans

    ----------------------------------------------------------------
    Output of messages for workload object ODI007.WGET/TESTE6.217/MAIN
    Start date Mon Dec  2 16:50:43 2019
    ----------------------------------------------------------------
    + sleep 10
    + wget http://18.228.228.132:5000 -o -q
    wget: -q: Permission denied
    + exit 0
    ---------------- The end of the file ----------------


  • 2.  RE: CA Workload Automation DE - command Linux wget with problem
    Best Answer

    Posted Dec 02, 2019 03:52 PM

    You are missing the logfile after the -o option, so the -q is being interpreted as the logfile name

    Current
    wget http://18.228.228.132:5000 -o -q


    Updated
    wget http://18.228.228.132:5000 -o logfile -- -q

    Added -- to terminate option, before final argument.

    Wouldn't the -v (verbose) be better than the -q (quiet) for when you need to troubleshoot​



    ------------------------------
    Senior Systems Analyst
    UPS
    ------------------------------



  • 3.  RE: CA Workload Automation DE - command Linux wget with problem

    Posted Dec 03, 2019 09:47 AM
    Hi Rick

    Thanks for the help
    we managed to solve the problem





  • 4.  RE: CA Workload Automation DE - command Linux wget with problem

    Posted Dec 03, 2019 09:57 AM
    Can you post what was done to resolve the issue?

    Thanks​

    ------------------------------
    Senior Systems Analyst
    UPS
    ------------------------------



  • 5.  RE: CA Workload Automation DE - command Linux wget with problem

    Posted Dec 03, 2019 01:50 PM
    Hi
    the command wget below solved the problem


    wget
    http://18.228.228.132:5000--output-file=/tmp/logfile.odi007.file1.txt --output-document=/tmp/logfile.odi007.file2.txt





  • 6.  RE: CA Workload Automation DE - command Linux wget with problem

    Broadcom Employee
    Posted Dec 02, 2019 11:15 PM
    Edited by Ravi Kiran Kunduri Dec 02, 2019 11:15 PM
    Hi,

    Is the same command running from linux shell or is it having the same problem. 
    Not sure but with sudo command , you may want to check.

    Ravi Kiran


  • 7.  RE: CA Workload Automation DE - command Linux wget with problem

    Posted Dec 03, 2019 09:47 AM
    Hi Kiran

    Thanks for the help
    we managed to solve the problem





  • 8.  RE: CA Workload Automation DE - command Linux wget with problem

    Posted Dec 03, 2019 01:49 PM
    Hi
    the command wget below solved the problem

    wget http://18.228.228.132:5000 --output-file=/tmp/logfile.odi007.file1.txt --output-document=/tmp/logfile.odi007.file2.txt