I've one shellscript excute.sh which has the maven commands like this

#!/bin/bash

mvn clean package

mvn exec:java
-Dexec.mainClass="com.eportfolio.dart.business.EPenCreateICFCDFFile"

and I'm calling the above script in crontab for every 1 min like this,but
it's not executing.

*/1 * * * * /hosting/pem_rd/DART/DART_ePortfolio_Server/execute.sh >>
/tmp/dart/icfcdf.log

once I just run excute.sh from command line without cron it is fine.

Could any body please advise where I'm going wrong?

Thanks,
Kumar
-- 
View this message in context: 
http://maven.40175.n5.nabble.com/Excecuting-maven-commands-in-crontab-tp2473371p2473371.html
Sent from the Maven Developers mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to