Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (12 sloc) 372 Bytes

UTCCRON

Adds fact timezone_utc_offset(_minutes) if there is an offset to utc. You can simply create a cron that runs the same time in every region by using

utccron { 'foobar':
	hour => '9',
	command => '/bin/hostname'
}

utccron is basically a wrapper around cron. It will take care for you, that on a host which is utc +2 the cron will run at 11 o'clock.