Quote:
Originally Posted by tanveer
(..) run on 1st Monday
|
Note what you used is weekday name and what you need is more like '[ $(date '+%e') -le 7 -a "$(date '+%a')" == "Mon" ] &&;'.
Quote:
Originally Posted by tanveer
&& echo "test">/tmp/test
|
You realize that using predictable file names is a real bad way of testing things, especially if you're root, right?