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

[custom-cron] Temporarily empty crontab on apply #187

Open
thbar opened this issue Apr 8, 2017 · 0 comments
Open

[custom-cron] Temporarily empty crontab on apply #187

thbar opened this issue Apr 8, 2017 · 0 comments

Comments

@thbar
Copy link

thbar commented Apr 8, 2017

While deploying custom-cron, I discovered that the crontab is emptied for a good minute during the chef run.

To verify this, monitor the output of :

$ watch -d -n 0.1 "crontab -l | tee | wc -l"

Then in another shell, run:

$ ey-core recipes upload --environment=YourEnv --file=cookbooks --apply

While a cron job should be written in a way that having a "miss" in the occurrences is not a problem, this behaviour increases the risk of mis-beat unnecessarily IMO.

Reporting this here and I'll also open a ticket at EY support.

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

1 participant