Menu

Export CSV cronjob does not export all hosts

2021-05-20
2021-05-20
  • Ravikumar Arigela

    We have migrated Gestio 3.2 (patch v6) from RHEL 6 to 7. Migration was successful.

    Now we are having an issue with exporting hosts to CSV through a cronjob (/opt/scripts/export_csv.pl)
    (It was working fine with old server)

    Could you please suggest how to fix this issue

    Cronjob: 00 16 * * 5 /opt/scripts/export_csv.pl

    Here is the error
    /opt/scripts/export_csv.pl
    cat: /tmp/gestioip.10.1.1.0.csv: No such file or directory
    cat: /tmp/gestioip.10.1.3.0.csv: No such file or directory
    ERROR 1086 (HY000) at line 1: File '/tmp/gestioip.10.1.3.0.csv' already exists
    cat: /tmp/gestioip.10.1.3.0.csv: No such file or directory

     
  • Marc Uebel

    Marc Uebel - 2021-05-20

    Hi Ravikumar

    The script is not part of GestióIP. Have a look into the script. Maybe you find there a hint where the script comes from.

    Please be aware that the GestióIP project offers a commercial support service. If you need help with the script you can write a mail to contact@gestioip.net.

    Regards,

    Marc

     
  • Ravikumar Arigela

     

    Last edit: Ravikumar Arigela 2021-05-20

Log in to post a comment.