I want to increase my time by n minute. I try the following by it does not work.
#!/bin/bash
time=$(date +'%H %M')
echo Current Time = $time
time=$(($time +'%2M'))
echo Time After 2m = $time
If my current time is e.g. 21 59 how can I increase the time by 2 minutes to have an output of 22 01 so as to be able to use it in crontab. I need my time to increase as time and not as simple numbers.