|
Posted by Csaba Gabor on 12/24/07 16:41
On Dec 23, 4:41 pm, My Pet Programmer <anth...@mypetprogrammer.com>
wrote:
> Csaba Gabor said:
....
> >> Is it an apache problem? What do you think guys? But the error log
> >> doesnt have any trace of problems with the exec...
>
> > There could be several reasons for this behaviour which are not at all
> > obvious in my opinion. Here is possibility.
>
> > It is possible to schedule Firefox to come up on a specific page (this
> > type of scheduling is non trivial), and then if you have GreaseMonkey
> > (GM) installed, it would do its thing and then shut down. For
> > example, you could monitor a web site in this way. At the end, GM
> > should tell the window to close itself, thus ending the scheduled app.
>
> > When I first developed this, it worked finen under manual testing,
> > only FF would ask me each time whether I really wanted to shut down
> > (there is a preference setting to control this). When the task was
> > automated and run under SYSTEM, I would again be asked whether I
> > really wanted to exit. Since I could not respond to that dialog
> > (since it wasn't visible), there was no way for the program to finish,
> > so it didn't (yet it had run fine till the end).
>
> > The moral is that it might be that your program under certain
> > circumstances pops up a dialog that no one is there to dismiss. That
> > could be a possible explanation to what is happening.
>
> > Csaba Gabor from Vancouver
>
> A while back, I had to write some code that called on Perl2exe on the
> server to compile Perl modules. What I ran into was an issue where I had
> to set the paths appropriately on the box by first executing a shell
> script from php that set up the enironment for my command.
>
> Could it be something like that?
>
> ~A!
"something like that" covers a lot of ground. It could have some
bearing, though it is not obvious. Firstly, you are saying that the
program does what it should do. That would imply that the paths/
environment vars are correct. However, if it affects the cleanup of
the program somehow it could be material. Also, it might be affected
by the "Allow service to interact with desktop" setting that you can
make on Apache/your web server (under Control Panel \ Services).
Csaba
Navigation:
[Reply to this message]
|