Skip to content
This repository has been archived by the owner on Jul 10, 2024. It is now read-only.
/ puppet-cron Public archive

A puppet module that manages scheduling of task (scripts) that already exists on the file system trough cron.

Notifications You must be signed in to change notification settings

5Ub-Z3r0/puppet-cron

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# puppet-cron

Manage task schedulation via Puppet on UNIX systems.
The schedulation can be custom (via cron::task) or rely on the cron-provided shortcuts (cron::hourly, cron::daily, cron::weekly and cron::monthly).

## How to use

### Classic task scheduling

```
  cron::task{ 'cleaning':
    command => '/path/to/cleaning_script.sh',
    minute  => '0'
  }
```

### Daily task (hourly, weekly, monthly) schedulation

```
  cron::daily{ 'backup':
    command => '/path/to/backup_script.sh'
  }
```
### TODO
- Set up and install cron in the - very unlikely - case that it's not installed;
- Make cron::task work with windows.

About

A puppet module that manages scheduling of task (scripts) that already exists on the file system trough cron.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published