Comments (2)
The cron type (now in cron_core, but formally a builtin type), manages the crontabs of users. eg. all cron
resources with user => root
will end up in a single crontab (/var/spool/cron/root
on EL7 at least).
The type inserts some comments with warnings to not mess with the file manually.
# HEADER: This file was autogenerated at 2021-03-31 16:26:03 +0100 by puppet.
# HEADER: While it can still be managed manually, it is definitely not recommended.
# HEADER: Note particularly that the comments starting with 'Puppet Name' should
# HEADER: not be deleted, as doing so could cause duplicate cron jobs.
# Puppet Name: foo
0 2 * * 5 foo.sh
# Puppet Name: bar
* 15 1 * * bar.sh
In contrast, this module creates cron entries by creating separate files under /etc/cron.d
. I think some people prefer this approach.
PRs to the docs, (maybe a rationale section??), always welcome. :)
from puppet-cron.
Yeah. The differences are not clear or good to find (I didn't find anything).
from puppet-cron.
Related Issues (20)
- Please make a new release HOT 1
- Small patch to support FreeBSD cron job file group attribute HOT 3
- Commas in template are ignoring. How to use the enumeration?
- Resource type not found: Cron::Special HOT 2
- Add support for tilde (Randomization)
- Support for Managing Anacron HOT 1
- Support for /var/spool/cron HOT 11
- Job Template EPP Conversion Empty Newline
- Comma character in hour/minute parameters HOT 3
- Special to support @startup HOT 2
- cron: users_allow -> overwrite in module manifest (without hiera)
- Special parameter is now set incorrectly with two @ HOT 3
- Allow multiple applications (profiles) to add users to cron.[allow|deny]
- Implement CIS Benchmark requirements HOT 4
- pattern error Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Syntax error at '/' at /etc/puppetlabs/code/environments/ci/modules/cron/types/minute.pp:4:11 on node HOT 2
- Can't get weekday options to work as an array of days HOT 2
- Fails on FreeBSD because gid 0 is wheel, not root HOT 1
- Test and enable for Puppet 7
- cron type patterns don't fully support cron syntax HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puppet-cron.