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

Disabled repository still run cron jobs #2931

Closed
ogarcia opened this issue Mar 2, 2020 · 1 comment
Closed

Disabled repository still run cron jobs #2931

ogarcia opened this issue Mar 2, 2020 · 1 comment

Comments

@ogarcia
Copy link

ogarcia commented Mar 2, 2020

If you configure a cron job in a repository and next you disable it, the cron job still runs.

Steps to reproduce:

  1. Enable a repository
  2. Make the first build
  3. Enable an hourly cron job
  4. Disable repository
  5. Wait for next cron schedule
  6. Voila! cron execute the job

I think that if a repository is disabled, Drone should be disable cron jobs too.

@bradrydzewski
Copy link

fixed by 32f286e

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