all my cron jobs seemed to be running fine. However, i have a few jobs that take a while to run such as media_mover and search, so set them as multithreaded so they could run in parallel. After doing so they stopped running. It appears their is an issue with this feature. I tried some of my other jobs that are where running in 1 sec, and same effect?

Comments

bcmiller0’s picture

unchecked multithread and cron job started running again; however those i have rules seem to not be working as well. I removed rules and also multithread and they do run fine.

I have been able to run the ones that aren't running as i'd like by calling them manually with the
?safety=xxxxxxxxxxxxxxx&module=name query string. So I think i'm able to use that to isolate job's as i'd like. I'll continue to test and see if can get the desired result that way;however the supercron 6.x2-dev does seem to have issues on rules and multithread at least on my setup which is 6.19 pressflow.

bcmiller0’s picture

Status: Active » Needs review
StatusFileSize
new671 bytes

Ok, i've fixed the issue with rules. Still working on fix for multithreading though. I'll keep debugging when have time.

bcmiller0’s picture

Priority: Normal » Critical
bcmiller0’s picture

StatusFileSize
new9.04 KB

ok, I have multi-threading and rules working , but not properly saving setting for root, or module path .

Meaning if you set custom path on "crontab configuration" page, then all works. However any edits to "settings" will remove that save. I need to fix up the Form handling on "crontab configuration" to saving full path as have it working that way or get logic to handle saving the 3 states (root path, drupal module path, custom) and then another variable to store the real value when custom. However giving the patch, I have now as it is workable and then hopefully next week can clean it up and get it solid. Doesn't seem to be timely work on this module, but i'm game to assist if it would help, think it's a great module just needs more testing and some cleanup, thanks.

99

bcmiller0’s picture

StatusFileSize
new11.19 KB

ok this seems to work for form cases, not pretty and could probably use some cleanup, but posting where i am.

I'll see about cleaning it up next week.

catofcheshir’s picture

Thanks! it works now.

cor3huis’s picture

bcmiller0 wrote, I'll see about cleaning it up next week.. Super, that will be may Christmas present from you. Now I will look into some other issues on other modules and give fixes as a Drupal Module present to others. Eagerly awaiting the clean fix for this issue...

rfarm’s picture

patch in #5 fixed my problem with the Crontab configuration page - Fatal error: Call to undefined function supercron_standard_path() in /home/review/public_html/sites/all/modules/supercron/supercron.crontab-admin.inc on line 38

Thanks!