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.

CommentFileSizeAuthor
#2 poormanscron.module.patch961 bytesMisterSpeed

Comments

vacilando’s picture

Subscribing

MisterSpeed’s picture

Status: Active » Needs review
StatusFileSize
new961 bytes

Here's the patch that will let Poormanscron work with either Cron or SuperCron depending on the local set-up.

jannalexx’s picture

Title: Support for SuperCron » Support for SuperCron, may solve unsuccessfull cron runs also

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).

dave reid’s picture

Status: Needs review » Postponed (maintainer needs more info)

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.

MisterSpeed’s picture

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.

afterdark’s picture

Status: Postponed (maintainer needs more info) » Active

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.

MisterSpeed’s picture

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 :)

gausarts’s picture

Subscribing. Thanks

MisterSpeed’s picture

Status: Active » Closed (won't fix)

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 !