Skip to content

Enforce required values in commands #21

Description

@AndrewBWS

Several crons have script parameters marked as required with a red asterisk. However, the UI allows scripts to be saved without those parameters defined.

For example, the cart_to_shelf cron shows that a -h value for number of hours is required but can be saved without a -h value. This causes the cron to fail with "ERROR: No --hours (-h) option defined at misc/cronjobs/cart_to_shelf.pl line 61."

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