{"action":"opened","issue":{"url":"https://api.github.com/repos/laravel/ideas/issues/1113","repository_url":"https://api.github.com/repos/laravel/ideas","labels_url":"https://api.github.com/repos/laravel/ideas/issues/1113/labels{/name}","comments_url":"https://api.github.com/repos/laravel/ideas/issues/1113/comments","events_url":"https://api.github.com/repos/laravel/ideas/issues/1113/events","html_url":"https://github.com/laravel/ideas/issues/1113","id":313115926,"number":1113,"title":"Artisan commands without \"real\" overlapping?","user":{"login":"exfriend","id":769995,"avatar_url":"https://avatars0.githubusercontent.com/u/769995?v=4","gravatar_id":"","url":"https://api.github.com/users/exfriend","html_url":"https://github.com/exfriend","followers_url":"https://api.github.com/users/exfriend/followers","following_url":"https://api.github.com/users/exfriend/following{/other_user}","gists_url":"https://api.github.com/users/exfriend/gists{/gist_id}","starred_url":"https://api.github.com/users/exfriend/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exfriend/subscriptions","organizations_url":"https://api.github.com/users/exfriend/orgs","repos_url":"https://api.github.com/users/exfriend/repos","events_url":"https://api.github.com/users/exfriend/events{/privacy}","received_events_url":"https://api.github.com/users/exfriend/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-10T22:49:30Z","updated_at":"2018-04-10T22:49:30Z","closed_at":null,"author_association":"NONE","body":"We already have this nice `withoutOverlapping()` thing for scheduled commands that prevents overlapping of scheduled commands. However, it does not prevent overlapping with the instance of the same command if it was, let's say, started manually. My idea is to implement something along the lines of `withoutRealOverlapping()` that would also check if the command is running no matter what.\r\n\r\nUse case for this:\r\n\r\nThere is a web scraping process implemented in the shape of Artisan command. It can be scheduled through Console Kernel as well as started manually on demand from Web UI and CLI. It would be nice to cancel scheduled runs if something's already running.\r\n\r\nCurrently my workaround is this:\r\n\r\nhttps://github.com/exfriend/laravel-overseer"}}
{"actor":{"display_login":"exfriend"}}