Skip to content

CronExpression missing dependency #42

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
3 tasks
njoubert-cleverage opened this issue Feb 10, 2025 · 2 comments
Closed
3 tasks

CronExpression missing dependency #42

njoubert-cleverage opened this issue Feb 10, 2025 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@njoubert-cleverage
Copy link
Member

Description

When setting cron type on ProcessScheduleCrudController add, error occurred:

You cannot use "Symfony\Component\Scheduler\Trigger\CronExpressionTrigger" as the "cron expression" package is not installed. Try running "composer require dragonmantank/cron-expression".

Requirements

  • Documentation updates
    • Reference
    • Changelog
  • Unit tests

Breaking changes

@njoubert-cleverage njoubert-cleverage added the bug Something isn't working label Feb 10, 2025
@njoubert-cleverage njoubert-cleverage self-assigned this Feb 10, 2025
@xaviermarchegay
Copy link

It is really required in this package?

The scheduler package specifies that it is mandatory only if you want to use the CronExpression.

https://symfony.com/doc/current/scheduler.html#cron-expression-triggers

@njoubert-cleverage
Copy link
Member Author

Yes it is, when using ProcessScheduleType->cron

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants