Solaris crontab

Soldato
Joined
13 Apr 2009
Posts
6,464
Location
UK
Hi all, I have a job in a crontab on a Solaris 5.8 box:

#45 20 * * 1-5 [ -x /usr/local/bin/fullback.up ] && /usr/local/bin/fullback.up


What does the "-x" option denote? And why is the first part of the job in square brackets and then repeated again?


Cheers
 
Thanks :D I've written a new backup.sh file and will just replace this entry in the crontab, but wanted to check the purpose of the [ -x file ] first.


Thanks very much :)
 
Back
Top Bottom