Quote:
Originally Posted by jjshabado
Just for the sake of argument can you approach the problem another way (Mostly because long term Cron jobs are ****-tastic)?
For a very simple example, if you had a last-active timestamp and last-completed task timestamp in the database you could just query those two fields to get your users without ever needing to run a maintenance job.
might use your idea actually, seems much simpler. and yes, i can approach it any way i like, im just building the site for myself as a way to keep learning.
just because im curious, why do you say cron jobs are crap? i would think running routine scripts like the one i described is a relatively common thing in web applications, but maybe not? or is there just a better way to schedule scripts than cron?