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

Deployments can get stuck if cron job is running #883

Open
yhoiseth opened this issue Dec 17, 2019 · 3 comments
Open

Deployments can get stuck if cron job is running #883

yhoiseth opened this issue Dec 17, 2019 · 3 comments

Comments

@yhoiseth
Copy link

yhoiseth commented Dec 17, 2019

See Preventing stuck deployments caused by long-running cron jobs on community.platform.sh for background.

Judging from the traffic on the Platform.sh Slack, stuck deploys are a pain in the ass for many. While the script I wrote solves my problem and presumably solves it for others, it's not very elegant, makes for a lot of duplicated effort and is not easy to discover for other users.

A better solution could be to build this into the Platform.sh CLI, for example in the form of an environment:deploy command.

An even better solution could be to entirely reject deployments whenever a cron job is running.

@yhoiseth
Copy link
Author

For an example support ticket, see Stuck deployment.

@GuGuss
Copy link
Contributor

GuGuss commented Mar 20, 2020

Hi, we will be soon releasing the support for Crons Activities, as well as Cancellable Crons.

As a user, you will have way more visibility on running crons and their status (currently, only in the log file), and you will be able to cancel a running cron. Stay tuned.

@GuGuss
Copy link
Contributor

GuGuss commented Mar 20, 2020

#910

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

No branches or pull requests

2 participants