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

Starting a project with --at does not stop the currently running project at that time (stop_on_start is true) #489

Open
tukusejssirs opened this issue Nov 30, 2022 · 2 comments
Labels

Comments

@tukusejssirs
Copy link

I have set stop_on_start to true.

When I start a project using --at when another project is running, it stops the currently running project at current time, thus it fails to start the new project because it cannot start before the previous project ends.

  1. [Current time: 11:00] watson start project_1 --at 11:00
  2. [Current time: 12:00] watson start project_2 --at 11:30
// Expected output
Stopping project project_1
Starting project project_2

// Actual output (duration and ID trimmed)
Stopping project project_1
Error: Task cannot start before the previous task ends.
@jmaupetit
Copy link
Contributor

Yup, I've already experienced this issue, but didn't took time to investigate. Did you?

@jmaupetit jmaupetit added the bug label Nov 30, 2022
@mims-github
Copy link

Experienced the same and think that is a quite common use-case, as one has forgotten to switch project and want to make the switch in the past.
Thx for the helpful tool, like it a lot so far.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants