Skip to content

martin-koerner/puppet-systemd_cron

 
 

Repository files navigation

systemd_cron

Create systemd timer/service to replace cron jobs

Parameters

'additional_timer_params'   => [ 'RandomizedDelaySec=10' ]
  • additional_service_params optional array with lines to append to [Service] section
'additional_service_params' => [ 'OnFailure=status-email-user@%n.service' ],

Examples

   systemd_cron { 'date':
     on_calendar         => '*:0/10',
     command             => '/bin/date',
     service_description => 'Print date',
     timer_description   => 'Run date.service every 10 minutes',
   }

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 71.2%
  • Puppet 28.8%