59
edits
Changes
update to use the cron system of openvz
# echo "*/5 * * * * root /path/to/script/vz_direct_traffic_log " >> \
/etc/crontab && /etc/init.d/crontab restart
Better use the cron system of OpenVZ
# echo "*/5 * * * * root /path/to/script/vz_direct_traffic_log " >> \
/etc/vz/cron/vz-traffic.sh && /etc/init.d/vz update-cron
To check the output of this later run: