Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] Rebuilding catalog cgi thru web



******    message to minivend-users from "Dennis Duval" <skip-minivend@seacove.net>     ******

> different user.  However it still doesn't solve the problem of restarting
> minivend if I use a command like:
>
> $cmd = 'minivend/mvend/bin/restart'
>
> This one works from the command line without giving a password prompt and
> actually restarts minivend if run as the same user as minivend but will
not
> work from the web app.
>
Problem solved!  And of course it was simple in the end.

It was the output from the minivend stop script and the minivend program
that was causing the error state.  When I redirected output to /dev/null it
took care of the problem.  Now minivend gets restarted and control is
returned properly to my web app script.

$cmd = '/minivend/mvend/bin/restart > /dev/null';
system($cmd);

Thanks to those who responded.

Dennis Duval


-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: