-
Notifications
You must be signed in to change notification settings - Fork 178
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
python cuckoo.py --delete-older-than-days issues #92
Comments
Closed
i suppose, there's always the 'trusty' |
Hello, |
I have the exact same issue. |
Check in my repo in utils you have a tool for it |
Thanks I'll give that a shot. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hi there.
python cuckoo.py --delete-older-than-days 21
so. couple of problems
there's a missing import at the top in /lib/cuckoo/core/startup.py
from datetime import timedelta
the second problem is that it's failing to drop the tasks from the Db (or disk) for me after :/
removing {'info.id': 1474} from analysis db
failed to remove faile task {'info.id': 1474} from DB
removing {'info.id': 1469} from analysis db
failed to remove faile task {'info.id': 1469} from DB
removing {'info.id': 1470} from analysis db
(for all the tasks in question )
=( not really sure why. the task is there db.analysis.find({"info.id": 1469}) shows it,
also, there's working code in modules/reporting/retention.py . (i can see that takes care of mongo and data, just a bit unclear if it works retrospectively. doesn't seems to, or maybe I'm doing something wrong?)
The text was updated successfully, but these errors were encountered: