Thanks a lot Stefano, i feel stupid, problem was just that...
PHil
Stefano Bagnara wrote:
philguillard wrote:
Thanks,
This is what i was thinking at first time, but since i deleted all the
cron jobs and nothing appeared on /var/log/*.log i'm blocked.
I forgot to mention that i launch james like this (.run.sh &), this is
maybe not the best way..
If you run it with "./run.sh &" it can die when you leave the shell
where you ran the command and James has filled the stdout buffer.
Furthermore you loose exception thrown to the stderr.
I create a /etc/rc.d/init.d/phoenix file:
--------------------------
#!/bin/sh
# Startup script for anacron
#
# chkconfig: 3 80 20
# description: Run cron jobs that were left out due to downtime
# Source function library.
. /etc/rc.d/init.d/functions
[ -f /usr/local/james-2.3-dev/bin/phoenix.sh ] || exit 0
/usr/local/james-2.3-dev/bin/phoenix.sh $1
------------------------------
And if you are on RedHat/Fedora here are the commands to handle it as a
service:
> chkconfig --add phoenix
Start the service:
> service phoenix start
Stop the service:
> service phoenix start
Stefano
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]