How can i set my bash not to run on weekend, both saturday or sunday? or run different task for weekend?
How can i set my bash not to run on weekend, both saturday or sunday? or run different task for weekend?
Hi there,
The easiest would be to run it every day, and check what day of the week it is (and early exit if not applicable).
the check on which day is in bash? Any example?