function

on

See also: on (class)

A built-in CFEngine function in the data category that returns an integer. on is not called from the policy on your hosts.

Signature
on(int, int, int, int, int, int)
Parameters
  1. int Year (1970,3000)
  2. int Month (January = 0) (0,1000)
  3. int Day (First day of month = 0) (0,1000)
  4. int Hour (0,1000)
  5. int Minute (0,1000)
  6. int Second (0,1000)
Returns
int
Category
data