擅长:python、mysql、java
<p>计算日期时最棘手的部分;我假设您知道如何更改值本身。在</p>
<p>您需要存储续订日期,并使用<a href="http://code.google.com/appengine/docs/python/config/cron.html" rel="nofollow">Scheduled Tasks With Cron for Python</a>或<a href="http://code.google.com/appengine/docs/java/config/cron.html" rel="nofollow">Java</a>定期检查它们。在</p>
<p>只需创建一个作业,在特定时间段(这里是1个月)后将所有过期帐户更改为<code>n</code>,并让它每天或每小时运行一次。在</p>