RE: Runnning a process in background

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, cronjobs will do the trik but it does not solve my
problem because this job has to be trigger by the user
and i have no control over the OS. So the only thing
that i came up was to call the exec function with this
command:
exec ("php myPhpScript.php &");

Using the "&" i can make it to run in background but
this is only in linux/unix enviroments. As i said
before i have no control over the OS.

The things is i have to send a newsletter but every
email that is send is diferent so the process takes a
long time to finish. That is why i need a diferent
thread.

Anyone has an idea to solve this?

Thanks

Rodrigo.

 --- "Bohaco, Ruud Alberts" <ruud@xxxxxxxxx> escribió:


---------------------------------
I think cronjobs are what you are looking for. 
Google for information about then ins and outs.

Good luck


-----Oorspronkelijk bericht-----
Van: php-objects@xxxxxxxxxxxxxxx
[mailto:php-objects@xxxxxxxxxxxxxxx] Namens
Rodrigo Mendoza
Verzonden: maandag 29 augustus 2005 14:18
Aan: php-objects@xxxxxxxxxxxxxxx
Onderwerp:  Runnning a process in
background

Hello everyone, i need to run a process in background
as a separate thread, and check the status of that
thread every one in a while. It is possible to do
this? 

Rodrigo


__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam
¡gratis! 
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar



PHP Data object relational mapping generator -
http://www.meta-language.net/

Yahoo! Groups Links



 




PHP Data object relational mapping generator -
http://www.meta-language.net/

  
    
---------------------------------
  YAHOO! GROUPS LINKS

  
    Visit your group "php-objects" on the web.
   
    To unsubscribe from this group, send an email to:
 php-objects-unsubscribe@xxxxxxxxxxxxxxx
   
    Your use of Yahoo! Groups is subject to the Yahoo!
Terms of Service.

  
---------------------------------




__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/saFolB/TM
--------------------------------------------------------------------~-> 

PHP Data object relational mapping generator - http://www.meta-language.net/ 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-objects/

<*> To unsubscribe from this group, send an email to:
    php-objects-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux