<commit_before>puppet-crontab
==============

A puppet module to manage crontab.

## Sample Usage
Install backup and use the provided configuration defaults:



Uninstall backup:
```puppet
node default {
	class {'backup':
		ensure => absent,
	}
}
```

Contact
-------

Principal developer:
	[<NAME>](http://leonardothibes.com) => [<EMAIL>](mailto:<EMAIL>)

Support
-------

Please log tickets and issues at our [Projects site](https://github.com/leonardothibes/puppet-backup/issues)<commit_msg>implementando exemplos de uso no README.md<commit_after>puppet-crontab
==============

A puppet module to manage crontab.

## Sample Usage

Creating job to run daily at 12:00:
```puppet
crontab::daily {'daily-test':
	hour    => 12,
	minute  => 0,
	command => 'rm -Rf /tmp/*',
}
```

Creating job to run hourly at minute 30(1:30, 2:30, 3:30...):
```puppet
crontab::hourly {'hourly-test':
	minute  => 30,
	command => '/var/lib/scripts/backup-svn.sh',
}
```

Creating job to run every 10º day of month, at 12:00:
```puppet
crontab::monthly {'monthly-test':
	day     => 10,
	hour    => 12,
	minute  => 30,
	command => '/opt/svn/scripts/bkp.sh',
}
```

Creating job to run weekly, every tuesday, at 07:15 pm with some environment variables:
```puppet
crontab::weekly {'weekly-test':
	day     => 'tue',
	hour    => 7,
	minute  => 15,
	command => '/root/scripts/bkp.sh',
	env     => [
		'JAVA_HOME=/var/lib/jvm',
		'MAILTO="user@<EMAIL>"',
	],
}
```

Removing a job:
```puppet
crontab::weekly {'weekly-test':
	ensure => absent
}

```

Contact
-------

Principal developer:
	[<NAME>](http://leonardothibes.com) => [<EMAIL>](mailto:<EMAIL>)

Support
-------

Please log tickets and issues at our [Projects site](https://github.com/leonardothibes/puppet-backup/issues)
{'fraction_non_alphanumeric': 0.1934931506849315, 'fraction_numerical': 0.02226027397260274, 'mean_word_length': 3.8966480446927374, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 28, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '431426', 'n_tokens_mistral': 712, 'n_tokens_neox': 645, 'n_words': 162}