Issue #4819 has been updated by James Turnbull. Status changed from Accepted to Ready for Testing Branch set to http://github.com/jamtur01/puppet/commits/tickets/2.6.x/4819
---------------------------------------- Bug #4819: Cron type reference documentation incorrectly states that the special parameter only supported on FreeBSD http://projects.puppetlabs.com/issues/4819 Author: micah - Status: Ready for Testing Priority: Normal Assignee: James Turnbull Category: cron Target version: 2.6.2 Affected version: 0.25.5 Keywords: Branch: http://github.com/jamtur01/puppet/commits/tickets/2.6.x/4819 The cron parameters in the Type Reference states: <pre> special Special schedules only supported on FreeBSD. </pre> However on a typical Debian system the special parameters are allowed: <pre> # cat /tmp/special_cron_test.pp cron { "test_special": command => "/bin/true", special => @reboot; } # puppet /tmp/special_cron_test.pp notice: /Stage[main]//Cron[test_special]/ensure: created # crontab -l # HEADER: This file was autogenerated at Wed Sep 22 10:56:39 -0400 2010 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: test_special @reboot /bin/true </pre> Also man (5) crontab says: <pre> Instead of the first five fields, one of eight special strings may appear: string meaning ------ ------- @reboot Run once, at startup. @yearly Run once a year, "0 0 1 1 *". @annually (same as @yearly) @monthly Run once a month, "0 0 1 * *". @weekly Run once a week, "0 0 * * 0". @daily Run once a day, "0 0 * * *". @midnight (same as @daily) @hourly Run once an hour, "0 * * * *". </pre> -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
