Saturday, December 21, 2024

Run Program from Terminal

Testing:

manually run the program

[root@localhost ~]# /stats/vpnttg/bin/vpnttg

if you get the following license file error while running the VPNTTG program, than it is necessary to renew it or copy it into the right location as shown above.

Invalid license file or license has expired

CRON job frequency

By the default configuration VPNTTG collects data every five minutes.
In order to increase device polling frequency to 1 minute, it is necessary to edit the /etc/cron.d/vpnttg crontab file as shown below:
* * * * *     root    /stats/vpnttg/bin/vpnttg       > /dev/null 2>&1