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

Cron job to block server upon expiry #10

Closed
ariunbayar opened this issue Jan 3, 2013 · 1 comment
Closed

Cron job to block server upon expiry #10

ariunbayar opened this issue Jan 3, 2013 · 1 comment
Assignees

Comments

@ariunbayar
Copy link
Owner

  1. Task runs
  2. Iterates through all servers and check if any server is expired
  3. If server is expired, notifies to admin "Server is expired" and requests to following address:
    • http://<ip_address>/manager/expired/
  4. When the request is send to a server it will block itself and respond with the status, TRUE or FALSE.
  5. The task checks the response if it is not blocked ( FALSE) it will retry from step 3.
  6. If the retry fails up to 3 times it should notify admin with message "Unable to reach to block upon expiry, <expire_date>"
  7. If step 4 returns TRUE it should notify admin with message "Server is blocked upon expiry, <expire_date>"
@ghost ghost assigned Qlio and ariunbayar Jan 3, 2013
@Qlio
Copy link
Contributor

Qlio commented Jan 4, 2013

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

No branches or pull requests

2 participants