In admin/config/system/cron there should be explanation that when cron is never run, system administrator should setup crontab. Cron url with cron key is the minimum information, complete cron line with wget command is even better.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Dave Reid’s picture

Isn't that information already provided or linked to d.org documentation on admin/reports/status?

ogi’s picture

Status doesn't imply actions or configuration. It's very convenient to have Run cron action in status page but I don't think it conceptually fits there.

Configuring cron implies just that: (1) setting how often Drupal calls cron hooks or (2) telling Drupal that cron is called by other means like crontab. IMHO admin/config/system/cron fails miserably at (2). There's some unclear Never and non-existant guidance what to do if cron frequency is not set. And the cron url is status page is not exactly useful guidance.

naxoc’s picture

Version: 7.0 » 8.x-dev
Status: Active » Needs review
FileSize
649 bytes
37.34 KB

I agree that having the url on that page makes sense. Putting a wget command in there would make less sense IMO - people run cron in all kinds of ways. I like to use curl and so on.

Patch puts the link on the admin/config/system/cron page:

cron.png

amontero’s picture

Title: admin/config/system/cron should have cron url » Display cron url in admin/config/system/cron page
Category: bug » feature
Issue tags: +Novice
FileSize
946 bytes

Fully agree.
Reroll, cron key moved from config to state recently:
#1821530: Move cron key from configuration to state system

Cameron Tod’s picture

Status: Needs review » Reviewed & tested by the community

Looks great to me. It would be great if there was some way of not duplicating the string in system.install and here, but I think the potential complication of that is not worth it.

webchick’s picture

Category: feature » task
Status: Reviewed & tested by the community » Fixed

Makes sense to me!

Committed and pushed to 8.x. Thanks.

amontero’s picture

Version: 8.x-dev » 7.x-dev
Status: Fixed » Needs review
FileSize
1.31 KB

Backport candidate to 7.x? The UI string is already present.

michaelmol’s picture

Status: Needs review » Reviewed & tested by the community

Patch applied, looks clean and functional.

xjm’s picture

David_Rothstein’s picture

Status: Reviewed & tested by the community » Fixed

Sure, why not...

Committed to 7.x - thanks! http://drupalcode.org/project/drupal.git/commit/ef10c14

David_Rothstein’s picture

Phantom "7.18 release notes" tag appeared to get added but not really... trying again.

David_Rothstein’s picture

Drupal 7.18 was a security release only, so this issue is now scheduled for Drupal 7.19 instead.

Fixing tags accordingly.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

David_Rothstein’s picture

Drupal 7.19 was a security release only, so this issue is now scheduled for Drupal 7.20 instead.

Fixing tags accordingly.

David_Rothstein’s picture

Drupal 7.20 was a security release only, so this issue is now scheduled for Drupal 7.21 instead. For real this time... I think :)

Fixing tags accordingly.

David_Rothstein’s picture

Issue tags: +7.22 release notes

Fixing tags since Drupal 7.21 only contained a fix to deal with fallout from the Drupal 7.20 security release. Hopefully this is really the last time I do this and this will be released in Drupal 7.22 for real :)