Cron & Anacron, Need Help.
test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
That script is in my crontab, my "system wide" one. Now i understand crontab is "suppose" to execute commands before anacrontab. But i read that command and i can't help to think that the " test -x /usr/sbin/anacron " is saying to see if anacron exists, and to execute if it does, hence the -x option.
is the command just seeing if anacrond exists and is exectuable before running what's after the || opertator? That doesn't seem to make sense.
TL;DR: is that command saying to see if anacrond exists and is executable (and run the directory with scripts in it from anacron), and if not run the command after || instead, which in turn will just run from cron?