Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Python Script to Automatically Suspend Hosting Accounts
Made by: @saiftheboss7
Job: To automatically suspend accounts at a given time.
Instruction: Run this code via cronjob
Works on Python 2.7+
#!/usr/bin/env python
import datetime
import urllib
today =,8,6) ##Format(YY/MM/DD)
urllib.urlretrieve ("", "index.html")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment