[CentOS] xServes are dead ;-( / SAN Question

Nicolas Ross rossnick-lists at cybercat.ca
Thu Nov 11 21:26:29 EST 2010


> Sure, but you also need to start the loop and make sure it doesn't die. 
>  You could use a script like this to repeat a script and then wait:
> 
> ---
> #!/bin/sh
> 
> delay="$1"
> shift
> 
> "${@}"
> 
> at now +  "$delay" <<EOF
> "$0" "$delay" "${@}"
> EOF
> ---
> 
> Run "repeat.sh 5m /path/to/whatever -args".  The script will run that 
> script and args, then schedule itself to run again in at.  The script 
> takes care of both running the job you specify and inserting itself into 
> the system's scheduler.

That is clever... I will certainly retain that idea. I may also make something basic in php/mysql...

Thanks for the tip...

Can't wait to install Centos 6. I'll try rhel 6 beta 2 on my first two nodes I will reveice tomorrow to start playing with directory service and clustering.


More information about the CentOS mailing list