Welcome Guest, Not a member yet? Register   Sign In
Fake cron?
#8

[eluser]esra[/eluser]
If you are attempting to design an application that runs on all web servers, using CRON is not a good choice if Windows support is desirable. PHP does not support multiple threads, but methods of simulating multithreaded operations have been developed.

There are a couple of classes on phpclasses.org that simulate multithreading (do a search on 'thread'). I have never used these myself, but the general approach seems useful for handling your needs. You could spin off a new thread to handle background processing operations and build an admin interface to handle scheuled events for those background operations, possibly based on CI's calendar library.


Messages In This Thread
Fake cron? - by El Forum - 07-24-2007, 07:48 PM
Fake cron? - by El Forum - 07-24-2007, 08:13 PM
Fake cron? - by El Forum - 07-24-2007, 08:50 PM
Fake cron? - by El Forum - 07-24-2007, 09:19 PM
Fake cron? - by El Forum - 07-25-2007, 07:42 AM
Fake cron? - by El Forum - 07-25-2007, 08:37 AM
Fake cron? - by El Forum - 07-25-2007, 09:18 AM
Fake cron? - by El Forum - 07-25-2007, 12:26 PM
Fake cron? - by El Forum - 07-25-2007, 12:31 PM
Fake cron? - by El Forum - 07-25-2007, 12:37 PM
Fake cron? - by El Forum - 07-25-2007, 02:50 PM
Fake cron? - by El Forum - 07-25-2007, 05:44 PM
Fake cron? - by El Forum - 07-27-2007, 09:25 AM
Fake cron? - by El Forum - 07-28-2007, 03:57 AM
Fake cron? - by El Forum - 07-28-2007, 08:28 AM
Fake cron? - by El Forum - 07-28-2007, 05:51 PM
Fake cron? - by El Forum - 07-28-2007, 09:07 PM



Theme © iAndrew 2016 - Forum software by © MyBB