GNU date is very good to do this, you can use the following test:
test `date --date "last saturday" +%d` -eq `date +%d`
Haven't tried to figure out how to use this command in cfengine, though.
--
Nicolas
nwat...@symcor.com a écrit :
Over at Ars there was a discussion about scheduling a cro
nwat...@symcor.com a écrit :
> I've compiled cfengine on solaris with some libs in a custom location.
> When I run cf it fails unless I set LD_LIBRARY_PATH to point to the custom
>
> libs. Is there a way to build the cf binaries with a built in default
> library search path?
>
You can do so