The structure of `cfengine.conf' needs to reflect your policy for running jobs on the system. You need to switch on relevant tasks and switch off unwanted tasks depending on the time of day. This can be done in three ways:
action: Hr00.Min10_15||Hr12.Min45_55:: Command
actionsequence
depending on the
time of day.
control: Hr00:: # Action-sequence for daily run at midnight actionsequence = ( sequence ) !Hr00:: # Action-sequence otherwise actionsequence = ( sequence )
import: Hr00:: cf.dailyjobs any:: cf.hourlyjobs
The last of these is the most efficient of the three, since cfengine does not even have to spend time parsing the files for actions which you know you will not want.
Go to the first, previous, next, last section, table of contents.