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

[eluser]Derek Allard[/eluser]
I've not thought about this in too much detail, but I like the idea in principal, especially for applications that you distribute, as you can never be sure of the environment they'll get set up in.

In order to not delay the loading of the page you're using, I would think an ajax request to a cron controller, triggered onload would be best. Its true that this wouldn't get called for visitors with js disabled, but since we're checking it every page load anyhow, that shouldn't be a problem.

It would be easy enough to have a table called "cron_jobs" or something, with timestamps dictating if something should be run.


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