running afacli in a cron job

Glen Turner glen.turner at aarnet.edu.au
Tue Dec 3 18:32:00 CST 2002


Pierre Wendling wrote:

> #!/bin/ksh
> 
> exec > /var/tmp/foo.out 2> /var/tmp/foo.err
> 
> cd /var/tmp
> cat  - <<EOR | afacli
>   open afa0
>   logfile start "/var/tmp/afalog.$$"
>   container list /full
>   disk list /full
>   logfile end
>   exit
> EOR


Does

   afacli @/dev/stdin <<EOR

work?

-- 
  Glen Turner                (08) 8303 3936 or +61 8 8303 3936
  Australian Academic and Research Network   www.aarnet.edu.au




More information about the Linux-PowerEdge mailing list