Posted by coloryan on April 6, 2009 at 12:14pm
Jump to:
| Project: | Ubercart Auction |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
I'm just thinking outloud here, but am curious if there's any need for a delayed start setting. Similar to the auction close (+ X days), but have the auction begin in +Y days.
rmh
Comments
#1
Try the scheduler module. Should do your job! You can publish the nodes(products) at a specific point in time by scheduling cron jobs accordingly.
#2
I'm not familiar with the Scheduler module, but have checked out the page. I have one question hanging that you might be able to help with: If my system works as designed, users might import 50-100 auctions at a time. I don't want all auctions to expire at the same time, maybe in 10 minute intervals. Can the scheduler run an import in batches of X imports every Y minutes?
#3
Umm.. I think you have raised three separate issues here:
1. Can you import 50-100 auctions at the same time?
A brief answer is maybe No (atleast for now). The node_import module works with uc_product right now. I am not exactly sure if auctions can be imported the same way. I guess the issue has to be raised in node_import's issue queue to get the exact answer
2. If we can do point 1, does node_import integrate with scheduler?
Again the answer is maybe No (atleast for now). Your need is that while automatically importing products via cron, the publishing schedule be added to the product. I am not sure if its currently possible with node import currently. This issue again has to be raised in node_import's issue queue to get an exact answer
3. After 1 and 2 are green, can an import be run say every 10 minutes?
A short answer is IT CAN but I would strongly advise not doing it this way. It means that you have to run a cron job every 10 minutes to get a few objects on display which in turn implies that your site shall always be terribly slow. What I can suggest is (maybe it is anti to your business model, please ignore the suggestion if it is) that the auctions start at a particular time say 10 AM and only their end times are staggered. This way, you can run an hourly cron (preferably longer) and still operate the same way.
#4
Yes, my first question led into the second and the third. Thanks for your help.
The import is lower down on my list, so I'll probably give that more attention in a week or two.
Semi-related, sort of... I'm testing the cron impact now. I have it running every 15 minutes, but will probably drop that back to 60.
Thanks for the fast response.
rmh