Stephane :

I've found problem : I have written 5 * instead of 4 (as you have done in your crontab), with this error
first thing that cron job tried to do was run EVERY FILE on root's home

Thank fro your help

regards
Francisci
What does your /etc/cron.d/send_mantis_emails.sh script look like?

Mine is rather simple.  Running on Debian:

0,5,10,15,20,25,30,35,40,45,50,55 * * * * www-data [ -x /usr/bin/php ] && [ -f /usr/share/mantis/core/send_emails.php ] && /usr/bin/php /usr/share/mantis/core/send_emails.php | grep -v -E "^(Sending emails...|Done.)"

I'm still on the 1.1.x branch (sigh, 1.2 release, where art thou?)

Steph

Francisco Mancardi wrote:
Hi:

I know that probably this is more a system problem that a mantis one, but i need help

if I run script manually ( /etc/cron.d/send_mantis_mails.sh ) everything is OK

but if I try using cron I've got this on my mail:

 From r...@localhost.localdomain  Mon Sep 14 12:28:00 2009
Date: Mon, 14 Sep 2009 12:28:00 +0200
From: r...@localhost.localdomain (Cron Daemon)
To: r...@localhost.localdomain
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


any hint ?

regards
Francisco




------------------------------------------------------------------------------
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

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
mantisbt-help mailing list
mantisbt-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mantisbt-help

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
mantisbt-help mailing list
mantisbt-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mantisbt-help

Reply via email to