Flax@feddit.uk to Selfhosted@lemmy.worldEnglish · 3 months agoWhat self hosting feels like (It's painful, please help 🥲)feddit.ukimagemessage-square196fedilinkarrow-up1799arrow-down128
arrow-up1771arrow-down1imageWhat self hosting feels like (It's painful, please help 🥲)feddit.ukFlax@feddit.uk to Selfhosted@lemmy.worldEnglish · 3 months agomessage-square196fedilink
minus-squaremarcos@lemmy.worldlinkfedilinkEnglisharrow-up3·3 months agoSo, you need a unix time value followed by 000? That first part you can calculate with date +%s -d '2024-07-02 12:00'.
minus-squareschizo@forum.uncomfortable.businesslinkfedilinkEnglisharrow-up2·3 months agoI ended up doing basically that. Current time in ms, minus 2629800000 (a month) = timestamp to use to prune from.
So, you need a unix time value followed by 000?
That first part you can calculate with
date +%s -d '2024-07-02 12:00'
.I ended up doing basically that.
Current time in ms, minus 2629800000 (a month) = timestamp to use to prune from.