I would like to calculate the time for 7am of the next day with the bash. (I want to use it to restart the computer with rtcwake
)
According to the man page of date
I should use %s
to get a unix timestamp. But how do I get if of the next day? (Or 7am of today => add one day)