Redirecting output to file through cron

Hi
Does anyone have any suggestions for capturing the output into a file when i run it through cron?

I have file called "quick.1" which contains two simple commands to be executed on the target host. And i have second file called "quick.2" which contains the wrapper script to ssh to the target servers.

When i run "quick.2" manually I can capture the output into the outputfile.

However my issue occurs when i try to do the same through cron. It creates the output file but its zero length. At a guess i think STDOUT is going off to the destination servers??....but im guessing.

The files look as follows

$ more quick.1
#!/bin/bash
HOSTNAME=`hostname`
SWAP=`free -m | awk '/Swap/ {print $4}'`
echo "Hostname ==> $HOSTNAME"
echo "Swap Free (Mb): ==> $SWAP"
$ cat quick.2
#!/bin/bash
for i in `cat serverlist`
do
ssh -q $i /chandika/quick.1
done >> /chandika/output
$ cat serverlist
linuxserver1
linuxserver2
$ cat serverlist

I have also tried to capture the output using redirect in my cron file without success:

10,20 * * * * /chandika/quick.2 >> /chandika/output 2>&1

Any help or suggestions much appreciated!

Thanks

stdout is going to email on the server you ssh to. Why?

I think because: /chandika directory does not exist, as a guess. Or your cron process is missing some environment settings.