mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2026-01-07 16:42:51 +01:00
After merging QueueProc changes, tweaks clean up cron times and change appspot instance name.
This commit is contained in:
parent
5ab5991d6e
commit
389fc010f2
3 changed files with 3 additions and 3 deletions
2
app.yaml
2
app.yaml
|
|
@ -1,5 +1,5 @@
|
|||
application: fanfictionloader
|
||||
version: 3-0-alpha
|
||||
version: 3-0-prod
|
||||
runtime: python
|
||||
api_version: 1
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
cron:
|
||||
- description: cleanup job
|
||||
url: /r3m0v3r
|
||||
schedule: every 3 hours
|
||||
schedule: every 12 hours
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class Remover(webapp.RequestHandler):
|
|||
logging.debug("Starting r3m0v3r")
|
||||
user = users.get_current_user()
|
||||
logging.debug("Working as user %s" % user)
|
||||
theDate = datetime.date.today() - datetime.timedelta(days=2)
|
||||
theDate = datetime.date.today() - datetime.timedelta(days=7)
|
||||
logging.debug("Will delete stuff older than %s" % theDate)
|
||||
|
||||
fics = DownloadMeta.all()
|
||||
|
|
|
|||
Loading…
Reference in a new issue