RE: Executing a script on Cron and produces ctrl-m

2013-06-11 Thread Nellis, Kenneth
-Original Message- Subject: Executing a script on Cron and produces ctrl-m Hi, I would like to seek your help regarding the behavior of running a shell script manually and via cron in Cygwin. I made a simple bash script that execute hostname command, assign it to a variable and write

Executing a script on Cron and produces ctrl-m

2013-06-11 Thread Jun Iriola
Hi, I would like to seek your help regarding the behavior of running a shell script manually and via cron in Cygwin. I made a simple bash script that execute hostname command, assign it to a variable and write it on the logfile.      xhostname=`hostname`      echo "`date`| ${xhostname}*" >> /so