Posted by 63reasons on June 8, 2009 at 6:33pm
| Project: | Poormanscron |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | 63reasons |
| Status: | closed (won't fix) |
Issue Summary
vacilendo #484240: Compatible with Poormanscron? was asking about the compatibility between Poormanscron and SuperCron (http://drupal.org/project/supercron); we are preparing a patch to help that happen.
Comments
#1
Subscribing
#2
Here's the patch that will let Poormanscron work with either Cron or SuperCron depending on the local set-up.
#3
nice, this solved persistent unsuccessfull cron runs via poormanscron...
supercron is one clever solution, it worked for unsuccessfull cron runs by rearranging and multithreading time consuming invokes (like search indexing).
#4
Ya know, SuperCron could make itself compatible with everything that uses drupal_cron_run by setting a super-low module weight and running other things from it's own hook_cron, then taking care of the shutdown stuff normally provided at the end of drupal_cron_run(). That way we wouldn't have to make everything else compatible with SuperCron. That way everything that uses the proper APIs will work with SuperCron.
#5
Not a bad idea; right now we are compatible with pretty much everything out there (as of this version), but I can see some marginal issues cropping up in the future. This would be an excellent solution. We'll look at it for 1.5.
jannalexx: check out our new SuperSearch module; it speeds up site indexing by 11 to 17 times (as measured on our sites), is themeable, works like a charm with SuperCron, and caches common search results for faster interactions. We just published the first alpha.
#6
The patch doesn't work with the latest version of poormanscron (2.x). Could you update that? Or, if you please,could you launch a new version already with the patch?
Thanks a lot, Supercron is superb.
#7
Thanks :) Wait until you see 1.4; ajax updates of the interface with each cron call (no more reload), independent task scheduling, upgrade from Elysia to SuperCron with settings intact, it'll be a big launch :)
#8
Subscribing. Thanks
#9
Instead of providing compatibility patches we've built our own version of Poormanscron (called Autocron) inside of SuperCron. The feature is either invoked by configuration, or as a safety is the cron daemon dies on your server (the daemon regains precedence when it gets restarted).
http://ftp.drupal.org/files/projects/supercron-6.x-1.4-beta1.tar.gz
Enjoy !