Whether you are using Linux on the desktop or as a server, it's still good that you're using Linux. Linux related questions go here.
Moderator: General Moderators
2 posts • Page 1 of 1
I have a backup that is a required hourly, however, it does not need to be done after the hours of 5PM until 6AM when everyone starts to get here. Is there a way to do this is CRON or should I just have a conditional check inside my bash script to not bother dumping mysql between those hours?
man crontab wrote: Ranges of numbers are allowed. Ranges are two numbers separated with a
hyphen. The specified range is inclusive. For example, 8-11 for an
``hours'' entry specifies execution at hours 8, 9, 10 and 11.
Lists are allowed. A list is a set of numbers (or ranges) separated by
commas. Examples: "1,2,5,9", "0-4,8-12"
There are 10 types of people in this world, those who understand binary and those who don't