Tell the admin the hostname for cron restriction

Created on 25 November 2016, over 8 years ago
Updated 6 November 2023, over 1 year ago

It would be nice to tell the admin user what the current hostname is.

In the admin/commerce/config/commerce_amazon_mws setup screen you are required to enter the hostname of the current system in order to have the cron feature work. No hostname means that cron hooks are skipped. Wrong hostname also means the cron hooks are skipped.

I was moving between several virtualized hosting systems and was very annoyed trying to discover the actual underlying hostname.

So I modified the commerce_amazon_mws_admin_form to invoke gethostname and display the results on the form as part of the field title.

i will attach a small patch to illustrate my code.

Feature request
Status

Active

Component

User interface

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.71.5 2024