BTW:
I got it to work by deleting the lastrun value from the rule. I also changes the sql critera so that it pulled based on dateline not lastpost. Really old threads that had been bumped within the last week appeared and it was a tad confusing. Since it should be thread of the week I assumed that the thread would have started within the time frame.
Anyway - just thought I would throw that in if it helps.
BTW: Why check when the lastrun was? If its a cron job then that runs automatically whenever you specify. If I wanted twice a week, I would set the cron job up accordingly. What is happening is that the lastrun date is never lower than the $cut date so it doesnt run the do_run_rule
|