in reply to System command from crontab

Check $? after the qx command, it might be returning an error. Cron might not be executing your environment files. You might find that the path is not setup correctly - it is safer to use the full path name for programs like hping rather than relying on the path in cron.