This is a great module.
I need to have the quote change at a specific time once a day. It would be very useful to have a time setting to trigger the quote updates, especially when choosing the daily update option. I hacked the cron_last field of the quotes_blocks table to set it myself (I think this was the right thing to do, not sure), but because of all the date and time zone conversions, it's difficult to get it right.
By the way it also seems that these values are never reset in the database. I would think they would get reset daily when the cron runs, but they never seem to change.
If you are not going to implement this, some instructions would be helpful on how to override the time in the database.
Comments
Comment #1
ctmattice1 commentedCurrent feature requests for 6.x will be incorporated into 7.x then backported.
@stg11 "By the way it also seems that these values are never reset in the database. I would think they would get reset daily when the cron runs, but they never seem to change."
I'll look into the time not being written to the database. The request makes sense and wouldn't be to hard to implement.
Comment #2
nancydruKeep in mind that just because a time is picked, that doesn't mean that hook_cron will run then. The hook runs at the next timer pop AFTER the specified time. That depends on on your server and how bus your site is. It is quite possible to skip a cron interval every once in a while.
Comment #3
stg11 commentedTo others interested, there seems to be a work-around until this is backported. If the timing is changed to 1 second then back to 1 day, the clock is reset to the time the block is saved. At least that seems to be happening for me. It just means you have to get up at 3am one time to resave the block if that's when you want it to turn over.