Skip to content

Add cron parser validation to Hook.cron property #23

Open
@Marak

Description

@Marak

The cron process should now safely ignore invalid crons, but since they are treated as plain strings with no validation, it's possible to enter invalid cron's into the system.

A validator should be added to Hook.cron so that invalid cron patterns are not allowed to be saved.

Thanks to @wyzwhp for discovering this issue.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions