This question already has an answer here:
In crontab, i have seen a couple of answers where users have requested a way to run every 5 mins:
*/5 * * * * command
Or every 5 mins with an offset:
10-59/5 * * * * command
An i have seen some creative solutions where people have made 2 line crontabs for every 90 mins:
0 0-21/3 * * * whatever 30 1-22/3 * * * whatever
Thanks to one of the answers below (thanks @khaled), here is another creative solution to 3h30mins:
0 0-23/7 * * * whatever 30 3-23/7 * * * whatever
Is there a generic solution to the every x mins problem? For example I currently need every 3h30m.
To address the duplicate tag: The question linked is clearly different - there is general advice on how to setup and debug cron jobs. I am referring to a specific problem where we are reaching the limits of the cron syntax. I am looking for a general algorithm for solving the "every greater than 60 mins" problem, which is not addressed in the linked question.