Here is a script that will run cron on a multisite installation. It looks for all the folders in the sites folder and runs cron.php for each of those sites using lynx. The default site has to be added separately. Could be used for inclusion with drupal.

Comments

redndahead’s picture

Status: Active » Needs review
StatusFileSize
new728 bytes

Attached is a patch to the cron-lynx.sh This will add a command line argument to the script, "-m", that when specified will run the extra multisite portion of the code.

redndahead’s picture

StatusFileSize
new728 bytes

Attached is a patch to the cron-lynx.sh This will add a command line argument to the script, "-m", that when specified will run the extra multisite portion of the code.

redndahead’s picture

Version: 7.x-dev » 6.x-dev

Moving to Drupal 6 as this patch is against that. Let others decide if it should move to 7.x

cburschka’s picture

Is there a good reason for using lynx non-interactively when wget will do the job just as well (and possibly with less overhead)?

birdmanx35’s picture

Version: 6.x-dev » 7.x-dev

This is a feature request, and feature requests go to 7.x.

@redndahead Patches against 7.x will also apply against 6.x atm, since 7.x isn't being actively developed.

redndahead’s picture

@Arancaytar

I am sure there was a good reason when dries first wrote the script. I just patched his original lynx script. No reason why we couldn't add a wget option.

lilou’s picture

StatusFileSize
new783 bytes

Reroll.

Anonymous’s picture

Status: Needs review » Needs work

The last submitted patch failed testing.

Jooblay.net’s picture

Issue summary: View changes

What is the status of this ticket:) Can we close this...

redndahead’s picture

Status: Needs work » Closed (won't fix)

Closing this in favor of doing nothing. :) Blast from the past.