Hello,

Just to complete this part of the info.

On Tue, Feb 26, 2008 at 8:32 PM, ... <[EMAIL PROTECTED]> wrote:
> Hi
> So I've edited my cron file to replace the variables $JFFNMS and $PHP with
> the actual paths in each command;

You don't have to do that. Here are the first few lines of my crontab
file for jffnms:
# jffnms crontab file
# Created by Sergey Akifyev <[EMAIL PROTECTED]>
JFFNMS=/usr/local/share/jffnms/engine
PATH=${PATH}:/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin://usr/local/sbin
     # JFFNMS
*/1 * * * * cd $JFFNMS && php -q consolidate.php >/dev/null 2>&1
*/5 * * * * cd $JFFNMS && php -q poller.php >/dev/null 2>&1

You see, it is erfextly possible to define env variables in the crontab file.

As I have read elsewhere in this thread, your problem seems to be
something else.
-- 
Regards,
Torfinn Ingolfsen

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
jffnms-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to