Skip to content

Clarify cron-related configuration of the Drupal module #99

@tanius

Description

@tanius

To make it simpler to understand and create the right cron configuration for Edgesense, I propose the following two changes:

  • Move the "Run During Cron" tickbox from the "Script Configuration" (admin/edgesense/script-param) screen to the "Script Execution" (admin/edgesense/script-run) screen, since that one contains a section detailing options to call the script already.
  • Rename the "Run During Cron" tickbox to "Execute as part of Drupal's cron tasks." And document below it that "If you do not choose this option, you will have to make sure by other means that the script is executed periodically. See here for details."
  • In the "Script Configuration" (admin/edgesense/script-param) screen, change the wording "If you choose to not run the script during cron" to "If you choose to not execute the script as part of Drupal's cron tasks". Because, if not choosing that option, the script will most probably still be "run during cron", namely with a dedicated edgesense_drupal command somewhere in crontab.
  • In the "Script Configuration" (admin/edgesense/script-param) screen, change the three help texts that read "If you choose to not run the script during cron then please append "?edgesense_views_key=[…]" to the end of your URL's. For example: […]" to appear only in the case the user unticked the "Run During Cron" checkbox and only for fields where the user uses URLs instead of file paths. In all other cases, it is a lot of confusing text (the majority of the help text even) that is not needed. Also make it clear this suffix is not needed when using file paths.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions