Skip to content
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

execute one command #42

Open
sameh-khemira opened this issue Jan 5, 2023 · 1 comment
Open

execute one command #42

sameh-khemira opened this issue Jan 5, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@sameh-khemira
Copy link

Is it possible to excute only one command or to set manually the last execution time to a specific command?
Thank you

@Chris53897
Copy link
Collaborator

It is possible in the gui to force a cronjob to run at next schedule. Which is probably 1 minute.
But not on the CLI.

I did thought of an update-command. https://github.com/Dukecity/CommandSchedulerBundle/blob/master/Command/AddCommand.php#L50
But maybe a new command to force (multiple) ...commands (to set executeImmediately to true) would be an improvment.

Maybe you want to do a PR?

I think to force the execution of one command can lead to problems with locking. It could be started parallel.

@Chris53897 Chris53897 added the enhancement New feature or request label Oct 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants