>but if I try using cron I've got this on my mail: > >Subject: Cron <r...@giunone> * /etc/cron.d/send_mantis_mails.sh >X-Cron-Env: <PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin> >X-Cron-Env: <SHELL=/bin/sh> >X-Cron-Env: <HOME=/root> >X-Cron-Env: <LOGNAME=root> > >/bin/sh: Mysql.files: command not found
Just a guess: You probably need to set either the working directory in your script or need to reference all needed files with an absolute path as the PATH environment variable is not known when called by cron. I think I once had a problem like that. bye Fabi ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ mantisbt-help mailing list mantisbt-help@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mantisbt-help