Primary Storage

 View Only
  • 1.  FCTOOL on crontab

    Posted Wed March 18, 2020 03:21 AM
    Hello,
    I'm using fctool 4.3.0. When I program it in crontab, the log shows a lot of messages like this:

    Unable to get Terminal Size. The TIOCGWINSZ ioctl didn't work. The COLUMNS and LINES environment variables didn't work. The resize program didn't work. The stty program didn't work. at script/fctool.pl line 2083.

    How can I ommit this messages on log?

    Regards,
    Laurio Perdiguero

    ------------------------------
    Laurio Perdiguero
    ------------------------------


  • 2.  RE: FCTOOL on crontab

    Posted Wed March 18, 2020 07:45 AM
    Hello Laurio,
    thank you for the feedback, it will be fixed in version 4.3.1 coming out today.
    Regards Markus

    ------------------------------
    Markus Fehling
    ------------------------------



  • 3.  RE: FCTOOL on crontab

    Posted Thu March 19, 2020 05:23 AM
    Hi,
    I tested the new 4.3.1 version, and now on crontab I see this messages (only with crontab):

    Unable to get Terminal Size. The TIOCGWINSZ ioctl didn't work. The COLUMNS and LINES environment variables didn't work. The resize program didn't work. The stty program didn't work. at script/fctool.pl line 2104.
    Use of uninitialized value $width in subtraction (-) at script/fctool.pl line 2125.
    Use of uninitialized value $width in subtraction (-) at script/fctool.pl line 2132.
    Use of uninitialized value $width in subtraction (-) at script/fctool.pl line 2132.
    Use of uninitialized value $width in subtraction (-) at script/fctool.pl line 2132.

    Regards,
    Laurio Perdiguero

    ------------------------------
    Laurio Perdiguero
    ------------------------------



  • 4.  RE: FCTOOL on crontab

    Posted Thu March 19, 2020 07:06 AM
    Hi, do you use --batch ?
    If not, the err msg will not go away, but it should not matter, fctool should continue to work. Have you checked the fctool.log files ?
    -- Markus

    ------------------------------
    Markus Fehling
    ------------------------------



  • 5.  RE: FCTOOL on crontab

    Posted Thu March 19, 2020 07:51 AM
    Thanks. I try with --batch and no errors.

    Regards,
    Laurio Perdiguero

    ------------------------------
    Laurio Perdiguero
    ------------------------------