You are here: Re: Offline processing... « All PHP « IT news, forums, messages
Re: Offline processing...

Posted by J.O. Aho on 09/28/18 11:41

Sam wrote:

> Aho, I guess there are no other alternatives than a cron job?

You can try to execute a php script in the background, but not sure how well
this would happen

eg: shell_exec("php /path/to/the/script.php &");

One of the drawbacks is that it's a lot more difficult to hunt bugs compared
to cron jobs and I'm not 100% sure the background process will really be
running in the background or die with the php script ending.


//Aho

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация