Python command parameter indicating time delta
Python command parameter indicating time delta Question: I need to specify a parameter to a python script indicating time back from now. For example 1d is 1 day from now, 2h is 2 hours from now, 2d3h is 2 days, 3 hours from now. Similar to the journalctl –vacuum-time format (reference). For example, this script …