queries for cluster/vacum/analyse/update cache

i would like to automatised the housekeeping
the sql command line is simply :
"CLUSTER ;" for cluster (all table)?
"VACUM ;" for vacum (all table)?
"ANALYSE;" for analyse (all table) ?
i suppose update cache is an series of queries ? can we have this queries ? or can we update cache with a command line like "pokertracker3.exe .....updatecache.exe" for exemple?
Thank you, and sorry for my bad english.
the sql command line is simply :
"CLUSTER ;" for cluster (all table)?
"VACUM ;" for vacum (all table)?
"ANALYSE;" for analyse (all table) ?
i suppose update cache is an series of queries ? can we have this queries ? or can we update cache with a command line like "pokertracker3.exe .....updatecache.exe" for exemple?
Thank you, and sorry for my bad english.