in reply to System command from crontab
Is the first field of the following crontab line ok?
/1 * * * * /root/scripts/perf/test.pl > /tmp/test.txt 2>&1
I mean, "/1" should be "*/1", but that is the same as "*"!!!
BTW, as it was said, not every environmental variables you can see in your terminal session are available from within crond deamon. Although cron command could save some of them for your script, you must set all your required environmental variables at the beginning of the script or crontab file.