20
arantr
8y

Going to create a couple of cron jobs that delete stuff from database.

What could possibly go wrong? ;)

Comments
  • 6
    Your Job !
  • 3
    @Vikram Hahaha, funny ,

    I don't know whether it is good idea or not to delete logs from db., in our company we never did. As of today we have around 500GB of data.
  • 0
    @Gowtham95india your logs is as big as some companies entire IP
  • 2
    Bro setup your cron job very very very carefully, I didn't.
    😂
  • 1
    @Gowtham95india LoL yea ! its too risky to do permanent delete from prod DB ...unless client wants it
  • 1
    Once wrote a unittest which needed to clean up some test files it generated, test it before committing to version control, only to find I messed up a path, the test worked, cleaned up after itself, and then deleted itself....
Add Comment