habmeth - Run Habitat's clockwork methods on the command line
habmeth [-c <purl>] [-C <cfcmd>] [-e <fmt>] [-dDhv] <command>
Runs a Habitat method, that would be available to jobs within the clockwork collection program.
<Command> should start with the name of the method and the remaining arguments to be applied to the methods.
With no arguments, a list of available methods are printed. Some methods do not require additional arguments other than the method name.
To find the available methods
habmeth
run a habitat method stand alone, where methods are:-
exec Direct submission to exec(2)
sh Test submit command line to sh(1)
snap Take a snapshot of a route
tstamp Timestamp in seconds since 1/1/1970 00:00:00
sample Sample tables from a timestore and produce a single table
pattern Match patterns on groups of routes to raise events
event Process event queues to carry out instructions
replicate Replicate rings to and from a repository
The tstamp method returns the time in seconds from the epoch. The example would be
habmeth tstamp
Nigel Stuckey <[email protected]>
clockwork(8), killclock(8), statclock(8), habedit(8), habrep(8), habconf(5), myhabitat(1), habget(1), habput(1), habrs(1), habprobe(1)