• Perl showold.pl strage error

    From Sean Rima@2:263/1 to All on Friday, May 07, 2021 23:08:54

    Hello everybody!

    When I run the perl script showold from the command line it works. but from crontab it fails. Nothing is output. I have tried using sh and bash

    Sean


    --- GoldED+/LNX 1.1.5-b20180707
    * Origin: A Destination in the Sun (2:263/1)
  • From Sean Rima@2:263/1 to Sean Rima on Saturday, May 08, 2021 02:04:04

    Hello!

    07 May 21 23:08, I wrote to all:


    Hello everybody!

    When I run the perl script showold from the command line it works. but from crontab it fails. Nothing is output. I have tried using sh and
    bash

    Sorted, I had not realised that it could not find the local perl5 directory in the home dir

    Sean


    --- GoldED+/LNX 1.1.5-b20180707
    * Origin: A Destination in the Sun (2:263/1)
  • From Brother Rabbit@2:460/58.10 to Sean Rima on Saturday, May 08, 2021 08:40:36
    Hi, Sean!

    07 май 21 23:08, Sean Rima -> All:

    When I run the perl script showold from the command line it works. but from crontab it fails. Nothing is output. I have tried using sh and
    bash

    showold 2>~/logs/whowold_err.log

    Have nice nights.
    Brother Rabbit.

    --- Мат, конечно, не украшает мою речь, но делает мои просьбы более понятными.
    * Origin: Lame Users Breeding. Simferopol, Crimea. (2:460/58.10)
  • From Sean Rima@2:263/1.2 to Brother Rabbit on Saturday, May 08, 2021 08:51:29

    Hi, Sean!

    07 май 21 23:08, Sean Rima -> All:

    When I run the perl script showold from the command line it works. but
    from crontab it fails. Nothing is output. I have tried using sh and
    bash

    showold 2>~/logs/whowold_err.log

    I forgot this option, and installed mailutils. It was not seeing the local perl
    config

    Sean
    --- AfterShock/Android 1.6.7
    * Origin: a mobile point (2:263/1.2)