Remember, that cron jobs execute in a limited environment. You should
check your log for any clues. Also, this is more of a maven users
question, not about the development of maven itself.

-- Larry

On Thu, Aug 12, 2010 at 9:49 AM, anilreddy76 <anilredd...@gmail.com> wrote:
>
> 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
>
>

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

Reply via email to